Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
robert-nemet committed Oct 30, 2024
1 parent 9c56f5b commit 85fce79
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions .github/workflows/quality-gate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,25 @@ on:

pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
quality-gate:
uses: ricardo-ch/golang-workflows/.github/workflows/library.yml@v1
secrets: inherit
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache-dependency-path: go.sum
- name: Download dependencies
run: go install ./...
shell: sh
- name: Run tests
run: go test -count=1 -race -v ./...
shell: sh


0 comments on commit 85fce79

Please sign in to comment.