Skip to content

update go 1.19 -> 1.21 #16

update go 1.19 -> 1.21

update go 1.19 -> 1.21 #16

Workflow file for this run

---
name: CI
on:
push:
env:
DOCKER_BUILDKIT: 1
BUILDKIT_PROGRESS: plain
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version-file: go.mod
- uses: golangci/golangci-lint-action@v3
with:
args: --timeout=3m
test:
strategy:
matrix:
# FIXME: windows builds are broken.
# We excludes binaries for windows until fixing that.
#os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
os: ['ubuntu-latest', 'macos-latest']
runs-on: ${{ matrix.os }}
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version-file: go.mod
- name: Test
run: make test
build:
needs:
- test
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build Image
run: make build-image