Skip to content

Commit 8dca2d4

Browse files
committed
Minor.
1 parent 51fe497 commit 8dca2d4

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/keystore.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Keystore Checks
22
permissions:
33
contents: read
44

5-
on: [push]
5+
on: push
66

77
jobs:
88
changes:
@@ -23,8 +23,10 @@ jobs:
2323
- 'keystore/**'
2424
2525
run-tests:
26-
if: needs.changes.outputs.keystore-src == 'true'
26+
name: run tests
2727
runs-on: ubuntu-latest
28+
needs: changes
29+
if: needs.changes.outputs.keystore-src == 'true'
2830
defaults:
2931
run:
3032
working-directory: keystore
@@ -45,8 +47,10 @@ jobs:
4547
run: go test ./... -coverpkg=./... -coverprofile=coverage.txt
4648

4749
build-race-tests:
48-
if: needs.changes.outputs.keystore-src == 'true'
50+
name: race tests
4951
runs-on: ubuntu-latest
52+
needs: changes
53+
if: needs.changes.outputs.keystore-src == 'true'
5054
steps:
5155
- name: Checkout
5256
uses: actions/checkout@v4

0 commit comments

Comments
 (0)