Skip to content

Migrate to shared-actions v2 #100

Migrate to shared-actions v2

Migrate to shared-actions v2 #100

Workflow file for this run

name: Lint
# This workflow is run on every pull request and push to main
# The `golangci` will pass without running if no *.{go, mod, sum} files have been changed.
on:
pull_request:
push:
branches:
- main
jobs:
golangci:
name: golangci-lint
runs-on: ubuntu-latest
timeout-minutes: 6
steps:
- uses: actions/checkout@v4
- uses: technote-space/[email protected]
with:
PATTERNS: |
**/**.go
go.mod
go.sum
- uses: golangci/golangci-lint-action@master
with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: v1.52.2
args: --timeout 10m
github-token: ${{ secrets.

Check failure on line 27 in .github/workflows/lint.yml

View workflow run for this annotation

GitHub Actions / Lint

Invalid workflow file

The workflow is not valid. .github/workflows/lint.yml (Line: 27, Col: 25): The expression is not closed. An unescaped ${{ sequence was found, but the closing }} sequence was not found.
if: env.GIT_DIFF