Skip to content

Commit

Permalink
Simpler ci
Browse files Browse the repository at this point in the history
  • Loading branch information
raynaudoe committed Jun 26, 2024
1 parent f8456ca commit 33c246b
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,27 +16,21 @@ concurrency:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go-arch: ["amd64", "arm", "arm64"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.22.2"
- name: Build
run: GOARCH=${{ matrix.go-arch }} make build
run: 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
run: make test

0 comments on commit 33c246b

Please sign in to comment.