Skip to content

Commit

Permalink
fix: ci definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
dnitsch committed Mar 28, 2024
1 parent c9e79da commit 5cd0e72
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
test:
runs-on: ubuntu-latest
container:
image: golang:1.19-bullseye
image: golang:1.21-bullseye
needs: set-version
env:
SEMVER: ${{ needs.set-version.outputs.semVer }}
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: install deps
run: |
apt-get update && apt-get install -y jq git
git config --global --add safe.directory "$GITHUB_WORKSPACE"
git config user.email ${{ github.actor }}-ci@gha.org
git config user.name ${{ github.actor }}
- name: Install GitVersion
uses: gittools/actions/gitversion/setup@v1.1.1
with:
Expand All @@ -25,7 +31,7 @@ jobs:
pr:
runs-on: ubuntu-latest
container:
image: golang:1.19-bullseye
image: golang:1.21-bullseye
needs: set-version
env:
REVISION: $GITHUB_SHA
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
release:
runs-on: ubuntu-latest
container:
image: golang:1.19-bullseye
image: golang:1.21-bullseye
env:
FOO: Bar
needs: set-version
Expand Down

0 comments on commit 5cd0e72

Please sign in to comment.