Skip to content

Commit

Permalink
ci: go lint (#76)
Browse files Browse the repository at this point in the history
Co-authored-by: Francesco Aliprandi <[email protected]>
  • Loading branch information
M4RC02U1F4A4 and Fraccs authored Apr 28, 2024
1 parent 58953f2 commit 280e224
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/firewall-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: firewall-lint

on:
pull_request:
paths:
- firewall/**.go
- firewall/go.mod
- firewall/go.sum

jobs:
lint:
name: lint
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup go
uses: actions/setup-go@v5
with:
go-version: '1.21.4'

- name: Lint firewall
uses: golangci/golangci-lint-action@v5
with:
version: v1.57
working-directory: firewall
skip-cache: true
skip-save-cache: true

0 comments on commit 280e224

Please sign in to comment.