Merge pull request #9 from emmansun/dependabot/go_modules/golang.org/… #31
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will build a golang project | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go | |
name: arm64-qemu | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
test: | |
strategy: | |
matrix: | |
go-version: [1.21.x] | |
arch: [arm64] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v3 | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Test | |
run: go test -v -short ./... | |
env: | |
GOARCH: ${{ matrix.arch }} |