Skip to content

Commit

Permalink
Use the right input for actions/setup-go (it's go-version)
Browse files Browse the repository at this point in the history
  • Loading branch information
antifuchs committed Aug 5, 2023
1 parent 843e4c5 commit e21cbf1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci_baseline_go_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go_version: ${{inputs.go_version}}
go-version: ${{inputs.go_version}}
- run: go build -v ./${{inputs.subdir}}
id: build
working-directory: ${{inputs.module_base}}
2 changes: 1 addition & 1 deletion .github/workflows/ci_baseline_go_lints.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go_version: ${{inputs.go_version}}
go-version: ${{inputs.go_version}}
- name: golangci-lint
id: golangci_lint
uses: golangci/golangci-lint-action@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci_baseline_go_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go_version: ${{inputs.go_version}}
go-version: ${{inputs.go_version}}
- run: go test -v ./...
id: test
working-directory: ${{inputs.module_base}}

0 comments on commit e21cbf1

Please sign in to comment.