Skip to content

Commit

Permalink
Add lint
Browse files Browse the repository at this point in the history
  • Loading branch information
myrkvi committed Jul 10, 2024
1 parent 51b3b7c commit b879399
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/deploy_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,24 @@ on:
branches:
- main
jobs:
lint:
name: GolangCi-Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.22'
cache: false
- name: GolangCi-Lint
uses: golangci/golangci-lint-action@v6.0.1
with:
version: v1.59.1
args: --timeout=5m
deploy:
name: Deploy app
runs-on: ubuntu-latest
needs: [lint]
concurrency: deploy-group # optional: ensure only one action runs at a time
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit b879399

Please sign in to comment.