Skip to content

Commit 4114b21

Browse files
committed
Add setup test
1 parent 473821e commit 4114b21

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

.github/workflows/test.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Setup test
2+
on:
3+
pull_request:
4+
push:
5+
branches:
6+
- "main"
7+
jobs:
8+
test-linux:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v2
13+
14+
- run: sleep 5
15+
16+
- name: use the action
17+
uses: ./
18+
with:
19+
version: "latest"
20+
21+
- name: show outputs
22+
run: |
23+
github-comment --version
24+
test-darwin:
25+
runs-on: macos-latest
26+
steps:
27+
- name: Checkout
28+
uses: actions/checkout@v2
29+
30+
- run: sleep 5
31+
32+
- name: use the action
33+
uses: ./
34+
with:
35+
version: "latest"
36+
37+
- name: show outputs
38+
run: |
39+
github-comment --version

0 commit comments

Comments
 (0)