Skip to content

Commit

Permalink
update ci action
Browse files Browse the repository at this point in the history
  • Loading branch information
ren3gadem4rm0t committed Aug 2, 2024
1 parent cdd64fc commit ece186b
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
pull_request:
branches: [ main ]

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -34,7 +37,9 @@ jobs:
run: make vet

- name: Lint
run: make lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.59

- name: Check formatting
run: make check-fmt
Expand All @@ -48,8 +53,10 @@ jobs:
- name: Coverage
run: make coverage

- name: Security Scan
run: make ast
- name: Security Scanner
uses: securego/gosec@master
with:
args: ./...

- name: Cleanup
run: make clean

0 comments on commit ece186b

Please # to comment.