Skip to content

chore(deps): bump golangci/golangci-lint-action from 6.1.0 to 6.1.1 #91

chore(deps): bump golangci/golangci-lint-action from 6.1.0 to 6.1.1

chore(deps): bump golangci/golangci-lint-action from 6.1.0 to 6.1.1 #91

Workflow file for this run

name: Go
on:
push:
paths-ignore:
- 'README.md'
concurrency:
group: ${{ github.workflow }}-$${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version-file: 'go.mod'
cache: true
id: go
- name: Build
run: make build
- name: Run linters
uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # v6.1.1
with:
version: latest
skip-go-installation: true
- name: Install tparse
run: go install github.com/mfridman/tparse@latest
- name: Test
env:
COVER_OPTS: "-coverprofile=coverage.txt -covermode=atomic"
GOFLAGS: "-v -count=1 -json"
run: go test $COVER_OPTS ./... | tparse -all -notests -format markdown >> $GITHUB_STEP_SUMMARY
- name: Verify git clean
shell: bash
run: |
if [[ -z "$(git status --porcelain)" ]]; then
echo "${{ github.repository }} up to date."
else
echo "${{ github.repository }} is dirty."
echo "::error:: $(git status)"
exit 1
fi