Skip to content

Commit 87ee905

Browse files
committed
Test improvements
1 parent de1d9cf commit 87ee905

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

.github/workflows/test.yml

+20-2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@ name: Test
22

33
on:
44
push:
5+
branches:
6+
- main
7+
paths:
8+
- 'action.yml'
9+
- 'index.js'
10+
- 'package.json'
11+
- 'package-lock.json'
12+
- 'node_modules/**'
13+
- '.github/workflows/test.yml'
14+
pull_request:
515
paths:
616
- 'action.yml'
717
- 'index.js'
@@ -18,5 +28,13 @@ jobs:
1828
- uses: actions/checkout@v4
1929
- uses: ./
2030
- run: |
21-
sudo apt search pacman
22-
repo-add --version
31+
for cmd in pacman \
32+
pacman-conf \
33+
makepkg \
34+
pacman-key \
35+
repo-add \
36+
repo-elephant \
37+
repo-remove; do
38+
type ${cmd}
39+
${cmd} --version
40+
done

0 commit comments

Comments
 (0)