Skip to content

build(deps): Bump goreleaser/goreleaser-action from 6.0.0 to 6.1.0 #198

build(deps): Bump goreleaser/goreleaser-action from 6.0.0 to 6.1.0

build(deps): Bump goreleaser/goreleaser-action from 6.0.0 to 6.1.0 #198

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
name: Build
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Setup Go
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed
with:
go-version-file: ./go.mod
- name: Build
uses: goreleaser/goreleaser-action@9ed2f89a662bf1735a48bc8557fd212fa902bebf
with:
version: latest
args: --clean --snapshot
test:
name: Test
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Setup Go
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed
with:
go-version-file: ./go.mod
- name: Test
run: go test ./...
lint:
name: Lint
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
- name: Setup Go
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed
with:
go-version-file: ./go.mod
- name: Check Modules
run: |
go mod tidy
if [ ! -z "$(git status --porcelain=v1)" ]; then
>&2 echo "Please run \`go mod tidy\` and commit the result."
exit 1
fi
- name: Lint
uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8