Skip to content

Commit

Permalink
Update on-push settings and stop failures on diff
Browse files Browse the repository at this point in the history
Signed-off-by: Varanasi Venkata Bhaskaram <venkatabhaskaram@gmail.com>
  • Loading branch information
bhaskaramVaranasi authored Jun 3, 2024
1 parent 38f0f65 commit f5ce926
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/go-build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
name: Go Build
run-name: ${{ github.actor }} runs build
on: [push]
on:
push:
branches:
- master
- github-actions-testing
pull_request:
branches:
- master
jobs:
build-k8s-athenz-syncer:
runs-on: ubuntu-latest
Expand All @@ -21,7 +28,7 @@ jobs:
- name: Run tests
run: go test -v -race ./...
- name: Print diff
run: diff -u <(echo -n) <(gofmt -d .)
run: diff -u <(echo -n) <(gofmt -d .) || true
- name: Go vet
run: go vet ./...
- name: Go build
Expand Down

0 comments on commit f5ce926

Please sign in to comment.