Skip to content

Commit

Permalink
Update github action
Browse files Browse the repository at this point in the history
  • Loading branch information
DerAndereAndi committed Feb 15, 2024
1 parent c83a835 commit bee93e7
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ^1.18
go-version: ^1.21.1

- name: Build
run: go build -v ./...
Expand All @@ -42,7 +42,11 @@ jobs:
- name: Send coverage
uses: coverallsapp/github-action@v2
with:
file: coverage.out
file: coverage_temp.out

- name: Remove mocks from coverage
run: |
grep -v "/spine-go/mocks/" coverage_temp.out > coverage.out
- name: Run Gosec Security Scanner
uses: securego/gosec@master
Expand Down

0 comments on commit bee93e7

Please sign in to comment.