Skip to content

Commit

Permalink
Run CI on both amd & arm
Browse files Browse the repository at this point in the history
  • Loading branch information
ericpromislow committed May 28, 2024
1 parent 92fb566 commit 3cde878
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: ci
name: Wrangler CI

on:
push:
Expand All @@ -12,6 +12,11 @@ on:
jobs:
ci:
runs-on : ubuntu-latest
strategy:
matrix:
arch:
- amd64
- arm64
steps:
- name : Checkout repository
# https://github.com/actions/checkout/releases/tag/v4.1.1
Expand All @@ -21,6 +26,11 @@ jobs:
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
with:
go-version-file: 'go.mod'
- name: Setup Environment Variables
run: |
echo "GOOS=${{ matrix.os }}" >> "$GITHUB_ENV"
echo "GOARCH=${{ matrix.arch }}" >> "$GITHUB_ENV"
echo "ARCH=${{ matrix.arch }}" >> "$GITHUB_ENV"
- name : Install mockgen
run: go install github.com/golang/mock/mockgen@v1.6.0
- name : Run CI
Expand Down

0 comments on commit 3cde878

Please sign in to comment.