mirror of
https://github.com/safing/portmaster
synced 2025-09-02 02:29:12 +00:00
github-actions: try to fix linter
This commit is contained in:
parent
9c226d9c54
commit
352d625158
1 changed files with 4 additions and 4 deletions
8
.github/workflows/go.yml
vendored
8
.github/workflows/go.yml
vendored
|
@ -2,6 +2,8 @@ name: Go
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
paths:
|
||||||
|
- '**.go'
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
- develop
|
- develop
|
||||||
|
@ -20,12 +22,10 @@ jobs:
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Setup Go
|
- name: Setup Go
|
||||||
uses: actions/setup-go@v4
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: '^1.21'
|
go-version: '^1.21'
|
||||||
|
cache: false
|
||||||
- name: Get dependencies
|
|
||||||
run: go mod download
|
|
||||||
|
|
||||||
- name: Run golangci-lint
|
- name: Run golangci-lint
|
||||||
uses: golangci/golangci-lint-action@v4
|
uses: golangci/golangci-lint-action@v4
|
||||||
|
|
Loading…
Add table
Reference in a new issue