This repository has been archived by the owner on Sep 17, 2024. It is now read-only.
Report unexpected status codes as errors #1885
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: golangci-lint | |
on: | |
pull_request: | |
permissions: | |
contents: read | |
pull-requests: read | |
jobs: | |
golangci: | |
strategy: | |
matrix: | |
os: [ ubuntu-latest ] | |
name: lint | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version-file: .go-version | |
- name: golangci-lint | |
uses: golangci/[email protected] | |
with: | |
version: v1.51.2 | |
args: --timeout=30m --whole-files | |
# Optional: show only new issues if it's a pull request. The default value is `false`. | |
only-new-issues: true |