Skip to content

Commit

Permalink
optimize github build
Browse files Browse the repository at this point in the history
  • Loading branch information
kamil-stc committed May 29, 2024
1 parent f614132 commit af1aba6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ jobs:
uses: actions/checkout@v4

- name: Set up Go 1.21.x
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: '1.21'
go-version-file: 'go.mod'
cache: true
id: go

Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,16 @@ jobs:

runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Go 1.21.x
uses: actions/setup-go@v2
uses: actions/setup-go@v5
with:
go-version: 1.21.x
go-version-file: 'go.mod'
cache: true
id: go

- name: Checkout code
uses: actions/checkout@v3

- name: Download Go modules
run: go mod download
env:
Expand Down

0 comments on commit af1aba6

Please sign in to comment.