Skip to content

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

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 #63

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
env:
GOLANGCI_LINT_VERSION: v1.58
jobs:
test:
name: Test
strategy:
matrix:
version: ["1.20", "1.21", "1.22"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
with:
persist-credentials: false
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version: ${{ matrix.version }}
cache: true
- run: make test
lint:
name: Lint
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
with:
persist-credentials: false
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version-file: go.mod
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8
with:
version: ${{ env.GOLANGCI_LINT_VERSION }}
- name: tidy
run: |
make download
git diff-index HEAD
git diff --minimal --color=always --compact-summary --exit-code HEAD || FAILED=true ;
if [[ $FAILED ]];
then echo "❗️please run \"go mod tidy\" locally and commit the changes"
exit 1
fi