Skip to content

Update go1.21.3 + modules #20

Update go1.21.3 + modules

Update go1.21.3 + modules #20

Workflow file for this run

name: Build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
goos: [ linux ]
goarch: [amd64, arm]
steps:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.21.3
- name: Check out source code
uses: actions/checkout@v2
- name: Build
env:
GOARCH: ${{ matrix.goarch }}
GOOS: ${{ matrix.goos }}
run: go build -o exec-in-net_${{ matrix.goos }}_${{ matrix.goarch }} .
- name: Create Artifact
uses: actions/upload-artifact@v1
with:
name: exec-in-net_${{ matrix.goos }}_${{ matrix.goarch }}
path: exec-in-net_${{ matrix.goos }}_${{ matrix.goarch }}
- name: Staticcheck
run: |
go install honnef.co/go/tools/cmd/staticcheck@latest
staticcheck ./...