Skip to content

Commit

Permalink
chore(.github/workflows): switch to Go 1.21
Browse files Browse the repository at this point in the history
Signed-off-by: Leonardo Grasso <[email protected]>
  • Loading branch information
leogr authored and poiana committed Aug 29, 2023
1 parent 49bed37 commit a2cab46
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v1
with:
go-version: 1.19
go-version: 1.21

- name: Build
run: make build

- name: Test
run: make test

Expand All @@ -43,5 +43,3 @@ jobs:
git config --global --add safe.directory ${{ github.workspace }}
make build
TEST_FLAGS=-v make test
10 changes: 5 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Release
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
- "v[0-9]+.[0-9]+.[0-9]+"

jobs:
release:
Expand All @@ -19,19 +19,19 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_SECRET }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
with:
platforms: 'amd64,arm64'
platforms: "amd64,arm64"

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: 1.19
go-version: 1.21

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v3
Expand Down

0 comments on commit a2cab46

Please sign in to comment.