Skip to content

Commit

Permalink
feat(BUX-420): go version, lib and workflows update
Browse files Browse the repository at this point in the history
  • Loading branch information
kuba-4chain committed Dec 19, 2023
1 parent 62b82cc commit 285a3fb
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 7 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ jobs:
# a pull request then we can check out the head.
fetch-depth: 2

- name: Install Go from go.mod
uses: actions/setup-go@v5.0.0
with:
go-version-file: go.mod

# If this run was triggered by a pull request event, then checkout
# the head of the pull request instead of the merge commit.
- run: git checkout HEAD^2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5.0.0
with:
go-version: 1.19
go-version-file: go.mod
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5.0.0
with:
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,15 @@ jobs:
needs: [yamllint, asknancy]
strategy:
matrix:
go-version: [1.19.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go ${{ matrix.go-version }}
uses: actions/setup-go@v5.0.0
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v4
- name: Install Go from go.mod
uses: actions/setup-go@v5.0.0
with:
go-version-file: go.mod
- name: Cache code
uses: actions/cache@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion go.mod

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 285a3fb

Please sign in to comment.