Skip to content

Bump golangci/golangci-lint-action from 6.0.1 to 6.1.0 #215

Bump golangci/golangci-lint-action from 6.0.1 to 6.1.0

Bump golangci/golangci-lint-action from 6.0.1 to 6.1.0 #215

Workflow file for this run

name: Go
on:
pull_request:
push:
branches: [master]
permissions:
contents: write
jobs:
verify:
name: Verify
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: "1.20"
- name: Checkout
uses: actions/checkout@v4
- name: Lint
uses: golangci/[email protected]
with:
version: v1.53
- name: Test
run: go test -v ./...
env:
PATCH2PR_TEST_REPO: ${{ github.repository }}
PATCH2PR_TEST_GITHUB_TOKEN: ${{
(github.event_name == 'push' || (github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]'))
&& secrets.GITHUB_TOKEN
|| ''
}}