Skip to content

Commit

Permalink
Allow workflows to run on PRs (#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pryz authored May 20, 2024
2 parents 9aa62f9 + 3adda10 commit 2c422ec
Showing 1 changed file with 15 additions and 10 deletions.
25 changes: 15 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: build
on:
pull_request:
push:
tags:
- v*
branches:
- main

concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
Expand Down Expand Up @@ -32,14 +37,14 @@ jobs:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
fetch-depth: 0
- uses: actions/setup-go@v4
with:
go-version-file: go.mod
check-latest: true
- uses: actions/checkout@v3
with:
submodules: true
fetch-depth: 0
- uses: actions/setup-go@v4
with:
go-version-file: go.mod
check-latest: true

- run: git config --global url.https://[email protected] https://github.com
- run: make test
- run: git config --global url.https://[email protected] https://github.com
- run: make test

0 comments on commit 2c422ec

Please sign in to comment.