Skip to content

Commit

Permalink
CI: Set Go version from go.mod
Browse files Browse the repository at this point in the history
  • Loading branch information
FR4NK-W committed Nov 28, 2024
1 parent 613cb46 commit d59151d
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22.x'
check-latest: true
go-version-file: 'go.mod'
- name: Install build requirements
run: |
sudo apt-get update
Expand All @@ -30,8 +29,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22.x'
check-latest: true
go-version-file: 'go.mod'
- name: Print environment
run: set
- name: Build with make
Expand All @@ -45,8 +43,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22.x'
check-latest: true
go-version-file: 'go.mod'
- name: Print environment
run: env
- name: Build with make
Expand Down

0 comments on commit d59151d

Please sign in to comment.