-
Notifications
You must be signed in to change notification settings - Fork 1
73 lines (71 loc) · 1.95 KB
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
name: "Test for actions/checkout@v4.1.4"
on:
workflow_dispatch:
jobs:
test1:
name: "ubuntu-latest + actions/checkout@v4.1.4"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.4
with:
sparse-checkout-cone-mode: true
fetch-depth: 1
fetch-tags: false
- name: "Print git --version"
run: git --version
- name: "Print .git/config"
run: cat .git/config
- name: "dotnet build"
run: dotnet build
test2:
name: "actions/runner:2.316.0 + actions/checkout@v4.1.4"
runs-on: ubuntu-latest
container:
image: ghcr.io/actions/actions-runner:2.316.0
options: --user 0
steps:
- name: "Update git"
run: |
apt-get update
apt-get install git -y
apt-get install curl -y
- uses: actions/checkout@v4.1.4
with:
sparse-checkout-cone-mode: true
fetch-depth: 1
fetch-tags: false
- name: "Print git --version"
run: git --version
- name: "Print .git/config"
run: cat .git/config
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.204'
- name: "dotnet build"
run: dotnet build
test3:
name: "actions/runner:2.316.0 + actions/checkout@v4.1.1"
runs-on: ubuntu-latest
container:
image: ghcr.io/actions/actions-runner:2.316.0
options: --user 0
steps:
- name: "Update git"
run: |
apt-get update
apt-get install git -y
apt-get install curl -y
- uses: actions/checkout@v4.1.1
with:
sparse-checkout-cone-mode: true
fetch-depth: 1
fetch-tags: false
- name: "Print git --version"
run: git --version
- name: "Print .git/config"
run: cat .git/config
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.204'
- name: "dotnet build"
run: dotnet build