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 4.3.0 to 4.4.0 #1101

build(deps): bump goreleaser/goreleaser-action from 4.3.0 to 4.4.0

build(deps): bump goreleaser/goreleaser-action from 4.3.0 to 4.4.0 #1101

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.21"
- name: run-tests
run: go test -race -vet all ./...
lint:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: golangci/golangci-lint-action@v3
staticcheck:
name: staticcheck
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
id: setup-go
with:
go-version: "1.21"
- 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 ./...