Skip to content

Commit

Permalink
using docker/setup-qemu-action (#91)
Browse files Browse the repository at this point in the history
* using docker/setup-qemu-action

* minor fix

* minor fix

* minor fix

* refactor
  • Loading branch information
aahel authored Feb 15, 2024
1 parent cc23841 commit 081a840
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/bin-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ jobs:
- 1.15.2
- 1.15.2+ent
platform:
- { goos: "linux", goarch: "amd64", runs-on: "ubuntu-latest"}
- { goos: "linux", goarch: "arm64", runs-on: ['self-hosted', 'linux-arm', 'arm64']}
- { goos: "linux", goarch: "amd64"}
- { goos: "linux", goarch: "arm64"}
needs:
- get-go-version
defaults:
Expand All @@ -57,14 +57,19 @@ jobs:
env:
TEST_RESULTS_DIR: /tmp/test-results
GOTESTSUM_VERSION: 1.8.0
runs-on: ${{ matrix.platform.runs-on }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 # v4.0.0
with:
go-version: ${{ needs.get-go-version.outputs.go-version }}
cache-dependency-path: ./consul-lambda/go.sum
- name: Install emulation
if: matrix.platform.goarch == 'arm64'
uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3.0.0
with:
platforms: arm64
- name: Install Consul
shell: bash
run: |
Expand Down

0 comments on commit 081a840

Please sign in to comment.