Skip to content

Commit

Permalink
github/workflow: Update go action to v4, use go.mod version
Browse files Browse the repository at this point in the history
  • Loading branch information
apelisse committed Aug 15, 2023
1 parent 7400477 commit ca5dfb6
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,12 @@ on:
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
go: [ '1.19', '1.x' ]
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: "${{ matrix.go }}"
go-version-file: 'go.mod'
- name: Build
run: |
go mod tidy && git diff --exit-code
Expand Down

0 comments on commit ca5dfb6

Please sign in to comment.