Skip to content

Commit

Permalink
Revert "chore(gh): update golangci-lint workflow"
Browse files Browse the repository at this point in the history
This reverts commit f860ab8.
  • Loading branch information
tenthirtyam committed Oct 12, 2024
1 parent f860ab8 commit defcef0
Showing 1 changed file with 10 additions and 22 deletions.
32 changes: 10 additions & 22 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,19 @@
name: golangci-lint

on:
pull_request:
paths-ignore:
- 'README.md'
push:
paths-ignore:
- 'README.md'

permissions:
contents: read

jobs:
# Ensure project builds before running testing matrix.
build:
name: Build
test:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
cache: true
- run: go mod download
- run: go build -v .
- name: Run linters
uses: golangci/golangci-lint-action@aaa42aa0628b4ae2578232a66b541047968fac86 # v6.1.0
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: latest
version: v1.56.1
args: --issues-exit-code=1
only-new-issues: true
skip-pkg-cache: true
skip-build-cache: true

0 comments on commit defcef0

Please sign in to comment.