Skip to content

Commit

Permalink
fix(infra/workflows): golang lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Zapharaos committed Jan 23, 2025
1 parent 3ca7074 commit ab43ef6
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: golangci-lint

on:
push:
branches:
- 21-cicd
pull_request:
branches:
- main
- develop

permissions:
# Optional: allow write access to checks to allow the action to annotate code in the PR.
checks: write

jobs:

golangci:

strategy:
matrix:
go: [ 'stable' ]
os: [ ubuntu-latest ]

name: lint
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v4

- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}

- name: golangci-lint
uses: golangci/golangci-lint-action@v6

0 comments on commit ab43ef6

Please sign in to comment.