Skip to content

Merge pull request #6 from tosuke/push-ecr-public #19

Merge pull request #6 from tosuke/push-ecr-public

Merge pull request #6 from tosuke/push-ecr-public #19

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