mirror of
https://github.com/kreuzwerker/terraform-provider-docker.git
synced 2026-01-01 12:29:36 -05:00
34 lines
717 B
YAML
34 lines
717 B
YAML
name: Compile Binaries
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
- "release/**"
|
|
tags-ignore:
|
|
- '*'
|
|
pull_request:
|
|
types: ['opened', 'synchronize']
|
|
paths:
|
|
- '**.go'
|
|
- go.mod
|
|
- '.github/workflows/**'
|
|
paths-ignore:
|
|
- '**_test.go'
|
|
|
|
env:
|
|
GOPROXY: https://proxy.golang.org,direct
|
|
GO_VERSION: "1.18"
|
|
|
|
jobs:
|
|
compile:
|
|
runs-on: ubuntu-20.04
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: actions/setup-go@v3
|
|
with:
|
|
go-version: ${{ env.GO_VERSION }}
|
|
- name: Run GoReleaser
|
|
uses: goreleaser/goreleaser-action@v3
|
|
with:
|
|
version: latest
|
|
args: release --rm-dist --skip-publish --snapshot --skip-sign
|