You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
447 B
25 lines
447 B
name: Go Build |
|
|
|
on: |
|
push: |
|
branches: [ "master" ] |
|
pull_request: |
|
branches: [ "master" ] |
|
|
|
jobs: |
|
build: |
|
runs-on: ubuntu-latest |
|
strategy: |
|
matrix: |
|
ARCH: [arm, arm64, amd64] |
|
steps: |
|
- name: Checkout code |
|
uses: actions/checkout@v3 |
|
|
|
- name: Set up Go |
|
uses: actions/setup-go@v4 |
|
with: |
|
go-version: '1.20' # Use the desired Go version |
|
|
|
- name: go build |
|
run: go build -v ./...
|
|
|