Skip to content

fix goreleaser docker multiarch #29

fix goreleaser docker multiarch

fix goreleaser docker multiarch #29

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
check-latest: true
go-version-file: go.mod
- uses: golangci/golangci-lint-action@v3
test:
name: Test
needs: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
check-latest: true
cache: true
go-version-file: go.mod
- run: make test
build:
name: Build
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-go@v3
with:
check-latest: true
cache: true
go-version-file: go.mod
- uses: goreleaser/goreleaser-action@v3
with:
args: build --snapshot
- uses: actions/upload-artifact@v3
with:
path: dist