chore(deps): update dependency goreleaser/goreleaser to v2.4.8 #1511
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: build | |
on: | |
push: | |
branches: | |
- master | |
- renovate/** | |
paths-ignore: | |
- "**.md" | |
- ".gitignore" | |
- "samples/**" | |
- "grafana/**" | |
- "systemd/**" | |
- "renovate.json" | |
pull_request: | |
branches: | |
- master | |
paths-ignore: | |
- "**.md" | |
- ".gitignore" | |
- "samples/**" | |
- "grafana/**" | |
- "systemd/**" | |
- "renovate.json" | |
concurrency: | |
group: build-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout | |
uses: actions/[email protected] | |
- name: Setup Go | |
uses: actions/[email protected] | |
with: | |
go-version-file: go.mod | |
- name: Ensure go.mod is already tidied | |
run: go mod tidy && git diff --no-patch --exit-code | |
- name: Run linters | |
uses: golangci/[email protected] | |
with: | |
# renovate: depName=golangci/golangci-lint datasource=github-releases | |
version: v1.62.0 | |
args: --timeout=3m0s | |
- name: Install richgo | |
# renovate: depName=kyoh86/richgo | |
run: go install github.com/kyoh86/[email protected] | |
- name: Run tests | |
run: richgo test -race -coverpkg=./... -coverprofile=coverage.txt -covermode=atomic -timeout 20m -v ./... | |
env: | |
RICHGO_FORCE_COLOR: 1 | |
- name: Send coverage | |
uses: codecov/[email protected] | |
with: | |
files: coverage.txt | |
token: ${{ secrets.CODECOV_TOKEN }} | |
- name: Build with Goreleaser | |
uses: goreleaser/[email protected] | |
with: | |
# renovate: depName=goreleaser/goreleaser datasource=github-releases | |
version: v2.4.8 | |
args: release --snapshot --skip=publish --clean | |
env: | |
PRIVATE_ACCESS_TOKEN: placeholder |