Skip to content
This repository has been archived by the owner on May 18, 2024. It is now read-only.

build(deps): bump goreleaser/goreleaser-action from 5.0.0 to 5.1.0 #1258

build(deps): bump goreleaser/goreleaser-action from 5.0.0 to 5.1.0

build(deps): bump goreleaser/goreleaser-action from 5.0.0 to 5.1.0 #1258

Workflow file for this run

name: Build
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
name: tests
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
go-version: "1.22.0"
- name: run-tests
run: go test -race -vet all ./...
staticcheck:
name: staticcheck
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
id: setup-go
with:
go-version: "1.22.0"
- run: |
go install honnef.co/go/tools/cmd/staticcheck@master
- name: get staticcheck version
id: get-staticcheck-version
run: |
echo "version=$(staticcheck --version | sed -e 's/,//g')" >>${GITHUB_OUTPUT}
- name: staticcheck cache
id: staticcheck-cache
uses: actions/[email protected]
with:
path: ~/.cache/staticcheck
key: "${{ steps.get-staticcheck-version.outputs.version }}-${{ steps.setup-go.outputs.go-version }}"
- name: run staticcheck
run: |
staticcheck ./...