Skip to content

build(deps): bump actions/setup-go from 4.1.0 to 5.0.0 (#104) #252

build(deps): bump actions/setup-go from 4.1.0 to 5.0.0 (#104)

build(deps): bump actions/setup-go from 4.1.0 to 5.0.0 (#104) #252

Workflow file for this run

name: Build Mini
on: ["push"]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
arch: [amd64]
targetos: [darwin, linux]
include:
- targetos: darwin
arch: arm64
name: mini ${{ matrix.arch }} for ${{ matrix.targetos }}
steps:
- uses: actions/checkout@v4
- uses: actions/[email protected]
with:
go-version: "1.21"
check-latest: true
env:
GOOS: ${{ matrix.targetos }}
GOARCH: ${{ matrix.arch }}
- name: Compile mini
run: |
go mod download
cd cmd/minid
go build .
- uses: actions/upload-artifact@v3
with:
name: minid ${{ matrix.targetos }} ${{ matrix.arch }}
path: cmd/minid/minid