Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

feat(BUX-420): go version bump + workflows update #512

Merged
merged 3 commits into from
Dec 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ jobs:
# a pull request then we can check out the head.
fetch-depth: 2

# GH Actions runner uses go1.20 by default, so we need to install our own version.
# https://github.com/github/codeql-action/issues/1842#issuecomment-1704398087
- name: Install Go from go.mod
uses: actions/setup-go@v5
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
with:
go-version: 1.19
go-version-file: go.mod
- name: Start Redis
uses: supercharge/redis-github-action@1.8.0
with:
Expand Down
15 changes: 10 additions & 5 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
# GH Actions runner uses go1.20 by default, so we need to install our own version.
# https://github.com/github/codeql-action/issues/1842#issuecomment-1704398087
- name: Install Go from go.mod
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Write go list
run: go list -json -m all > go.list
- name: Ask Nancy
Expand All @@ -36,16 +42,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
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v4
- name: Install Go from go.mod
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Start Redis
uses: supercharge/redis-github-action@1.8.0
with:
Expand Down
34 changes: 17 additions & 17 deletions go.mod

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

Loading
Loading