Skip to content

Commit

Permalink
Merge branch 'main' into cristaloleg-patch-1
Browse files Browse the repository at this point in the history
Signed-off-by: Oleg Kovalov <[email protected]>
  • Loading branch information
cristaloleg authored Mar 1, 2024
2 parents 4f80c4c + b59fd39 commit 0b16941
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ on:
required: false
type: string

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

jobs:
run:
name: Build
Expand All @@ -50,9 +54,6 @@ jobs:
- name: Go Format
run: gofmt -s -w . && git diff --exit-code

- name: Go Vet
run: go vet ./...

- name: Go Tidy
run: go mod tidy && git diff --exit-code

Expand All @@ -69,6 +70,9 @@ jobs:
- name: Go Build
run: go build -o=/dev/null -tags=${{ inputs.buildTags }} ./...

- name: Go Vet
run: go vet ./...

- name: Go Compile Tests
if: ${{ inputs.skipTests }}
run: go test -exec=/bin/true -tags=${{ inputs.buildTags }} ./...
Expand All @@ -79,7 +83,7 @@ jobs:

- name: Go Benchmark
if: ${{ !inputs.skipTests }}
run: go test -v -shuffle=on -tags=${{ inputs.buildTags }} -run=- -bench=. -benchtime=1x ./...
run: go test -v -shuffle=on -tags=${{ inputs.buildTags }} -run=^$ -bench=. -benchtime=1x ./...

- name: Upload Coverage
if: ${{ !inputs.skipTests }}
Expand Down

0 comments on commit 0b16941

Please sign in to comment.