mirror of
https://github.com/Kichiyaki/terraform-provider-woodpecker.git
synced 2024-06-29 07:38:05 +00:00
28 lines
608 B
YAML
28 lines
608 B
YAML
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
goreleaser:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 0
|
|
- uses: actions/setup-go@v4
|
|
with:
|
|
go-version-file: 'go.mod'
|
|
cache: true
|
|
- run: make generate && go mod tidy && git diff --exit-code go.mod docs/ examples/
|
|
- uses: golangci/golangci-lint-action@v3
|
|
with:
|
|
version: v1.54
|
|
- run: go test -race -coverprofile=coverage.txt -covermode=atomic ./...
|