Skip to content

Commit 34bf8a1

Browse files
committed
add test workflow
1 parent defc64b commit 34bf8a1

File tree

1 file changed

+53
-0
lines changed

1 file changed

+53
-0
lines changed

.github/workflows/test.yml

+53
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
name: "Test for actions/[email protected]"
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
test1:
8+
name: "ubuntu-latest + actions/[email protected]"
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/[email protected]
12+
with:
13+
sparse-checkout-cone-mode: true
14+
fetch-depth: 1
15+
fetch-tags: false
16+
- name: "Print .git/config"
17+
run: cat .git/config
18+
- name: "dotnet build"
19+
run: dotnet build
20+
test2:
21+
name: "actions/runner:2.316.0 + actions/[email protected]"
22+
runs-on: ubuntu-latest
23+
container: ghcr.io/actions/actions-runner:2.316.0
24+
steps:
25+
- uses: actions/[email protected]
26+
with:
27+
sparse-checkout-cone-mode: true
28+
fetch-depth: 1
29+
fetch-tags: false
30+
- name: "Print .git/config"
31+
run: cat .git/config
32+
- uses: actions/setup-dotnet@v4
33+
with:
34+
dotnet-version: '8.0.204'
35+
- name: "dotnet build"
36+
run: dotnet build
37+
test3:
38+
name: "actions/runner:2.316.0 + actions/[email protected]"
39+
runs-on: ubuntu-latest
40+
container: ghcr.io/actions/actions-runner:2.316.0
41+
steps:
42+
- uses: actions/[email protected]
43+
with:
44+
sparse-checkout-cone-mode: true
45+
fetch-depth: 1
46+
fetch-tags: false
47+
- name: "Print .git/config"
48+
run: cat .git/config
49+
- uses: actions/setup-dotnet@v4
50+
with:
51+
dotnet-version: '8.0.204'
52+
- name: "dotnet build"
53+
run: dotnet build

0 commit comments

Comments
 (0)