Skip to content

Commit

Permalink
Fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
raynaudoe committed Jun 26, 2024
1 parent fb36084 commit f8456ca
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build
name: Build and Test
on:
pull_request:
merge_group:
Expand All @@ -23,9 +23,20 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.22"
check-latest: true
go-version: "1.22.2"
- name: Build
run: GOARCH=${{ matrix.go-arch }} make build

test:
runs-on: ubuntu-latest
needs: build
strategy:
matrix:
go-arch: ["amd64", "arm", "arm64"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.22.2"
- name: Test
run: GOARCH=${{ matrix.go-arch }} make test

0 comments on commit f8456ca

Please sign in to comment.