Skip to content

Commit

Permalink
ci tests on pr
Browse files Browse the repository at this point in the history
  • Loading branch information
nothub committed Apr 2, 2024
1 parent 5201ad9 commit 97d3b39
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: '🐱‍💻'
on: [ push ]
name: '🧑‍🏭'
on: [ push, pull_request ]
permissions:
contents: write
jobs:
Expand All @@ -15,10 +15,10 @@ jobs:
go-version-file: 'go.mod'
check-latest: true
cache: true
- run: go test -v -vet 'all' ./...
- run: go test -v -vet='all' ./...

release:
if: startsWith(github.ref, 'refs/tags/v') == true
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') == true
needs: check
runs-on: ubuntu-22.04
steps:
Expand Down

0 comments on commit 97d3b39

Please sign in to comment.