Skip to content

Try using chainguard/static as base image #8

Try using chainguard/static as base image

Try using chainguard/static as base image #8

Workflow file for this run

name: Go
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: ['1.22.3']
steps:
- uses: actions/checkout@v4
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Display Go version
run: go version
- name: Install dependencies
run: go mod download
- name: Vet
run: go vet ./...
- name: Test
run: go test -race ./...
- name: Build
run: CGO_ENABLED=0 go build