Skip to content

Add test command to Shell completions #329

Add test command to Shell completions

Add test command to Shell completions #329

Workflow file for this run

name: CI
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
permissions:
contents: read
jobs:
tests:
name: Go ${{ matrix.go-version }} - ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
go-version:
- '1.20.x'
- '1.21.x'
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe
with:
go-version: ${{ matrix.go-version }}
- name: Run Tests
run: |
go test -cover ./...
shell: bash
formatting:
name: Go Format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608
- name: Check formatting
run: ./.gha.gofmt.sh