Refactor GitHub Actions workflow for arm64 support
Removed setup-go step and updated architecture to arm64.
This commit is contained in:
10
.github/workflows/test.yaml
vendored
10
.github/workflows/test.yaml
vendored
@@ -45,11 +45,6 @@ jobs:
|
|||||||
version: ${{steps.meta.outputs.version}}
|
version: ${{steps.meta.outputs.version}}
|
||||||
tags: ${{steps.meta.outputs.tags}}
|
tags: ${{steps.meta.outputs.tags}}
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: setup go
|
|
||||||
uses: actions/setup-go@v6
|
|
||||||
with:
|
|
||||||
go-version: ${{needs.go.outputs.version}}
|
|
||||||
|
|
||||||
- name: get meta version
|
- name: get meta version
|
||||||
id: meta
|
id: meta
|
||||||
@@ -67,10 +62,9 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
# linux
|
# linux
|
||||||
- name: linux-amd64
|
- name: linux-arm64
|
||||||
goos: linux
|
goos: linux
|
||||||
goarch: amd64
|
goarch: arm64
|
||||||
goamd64: v1
|
|
||||||
|
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
Reference in New Issue
Block a user