mirror of
https://github.com/containrrr/watchtower.git
synced 2025-09-22 05:40:50 +02:00
Update linter
Static Check using outdated version of Go.
This commit is contained in:
parent
ffb4320fc1
commit
ae018b7bf2
1 changed files with 6 additions and 10 deletions
16
.github/workflows/pull-request.yml
vendored
16
.github/workflows/pull-request.yml
vendored
|
@ -14,18 +14,14 @@ jobs:
|
||||||
name: Lint
|
name: Lint
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- uses: actions/checkout@v4
|
||||||
uses: actions/checkout@v4
|
- uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
go-version: stable
|
||||||
- name: Set up Go
|
- name: golangci-lint
|
||||||
uses: actions/setup-go@v5
|
uses: golangci/golangci-lint-action@v6
|
||||||
with:
|
with:
|
||||||
go-version: 1.23.x
|
version: v1.60
|
||||||
- uses: dominikh/staticcheck-action@v1.3.1
|
|
||||||
with:
|
|
||||||
# version: "2024.1.1"
|
|
||||||
install-go: "false" # StaticCheck uses go v1.17 which does not support `any`
|
|
||||||
test:
|
test:
|
||||||
name: Test
|
name: Test
|
||||||
strategy:
|
strategy:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue