Skip to content

Commit

Permalink
match workflow name with filename
Browse files Browse the repository at this point in the history
  • Loading branch information
nishanths committed Nov 27, 2022
1 parent fb9eaeb commit 920609b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/all.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
on: [push, pull_request]
name: all
jobs:
main:
all:
strategy:
matrix:
go-version: [1.14, 1.16, 1.18, 1.x]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}

steps:
- name: install go
uses: actions/setup-go@v2
Expand All @@ -21,15 +22,15 @@ jobs:

# for earlier go versions, staticcheck build fails due to
# ../../../go/pkg/mod/honnef.co/go/[email protected]/go/ir/builder.go:36:2: //go:build comment without // +build comment
- name: install vet tools (>= go1.17)
- name: install vet tools (go1.17 or later)
if: ${{ matrix.go-version >= '1.17' }}
run: |
go install github.com/nishanths/exhaustive/cmd/exhaustive@latest
go install github.com/gordonklaus/ineffassign@latest
go install github.com/kisielk/errcheck@latest
go install honnef.co/go/tools/cmd/staticcheck@latest
- name: vet (>= go1.17)
- name: vet (go1.17 or later)
if: ${{ matrix.go-version >= '1.17' }}
run: make vet

Expand Down

0 comments on commit 920609b

Please sign in to comment.