Skip to content

Commit acba077

Browse files
committed
CI: Update actions version
Use checkout v3, and unpin the setup-dlang version to benefit from updates. We also need to use fetch-depth > 1 when using coverage as the Codecov script requires it.
1 parent a493e11 commit acba077

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

.github/workflows/d.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,10 @@ jobs:
1616
- dmd-beta
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: actions/checkout@v2
20-
- uses: dlang-community/setup-dlang@4c99aa991ce7d19dd3064de0a4f2f6b2f152e2d7
19+
- uses: actions/checkout@v3
20+
with:
21+
fetch-depth: 2
22+
- uses: dlang-community/setup-dlang@v1
2123
with:
2224
compiler: ${{ matrix.dc }}
2325
- name: 'Test'
@@ -29,8 +31,8 @@ jobs:
2931
runs-on: ubuntu-latest
3032
needs: build
3133
steps:
32-
- uses: actions/checkout@v2
33-
- uses: dlang-community/setup-dlang@4c99aa991ce7d19dd3064de0a4f2f6b2f152e2d7
34+
- uses: actions/checkout@v3
35+
- uses: dlang-community/setup-dlang@v1
3436
with:
3537
compiler: dmd-latest
3638
- name: 'Build Examples'
@@ -47,8 +49,8 @@ jobs:
4749
ninja:
4850
runs-on: ubuntu-latest
4951
steps:
50-
- uses: actions/checkout@v2
51-
- uses: dlang-community/setup-dlang@4c99aa991ce7d19dd3064de0a4f2f6b2f152e2d7
52+
- uses: actions/checkout@v3
53+
- uses: dlang-community/setup-dlang@v1
5254
with:
5355
compiler: dmd-latest
5456
- name: 'Install dependencies'
@@ -64,8 +66,8 @@ jobs:
6466
runs-on: ubuntu-latest
6567
needs: build
6668
steps:
67-
- uses: actions/checkout@v2
68-
- uses: dlang-community/setup-dlang@4c99aa991ce7d19dd3064de0a4f2f6b2f152e2d7
69+
- uses: actions/checkout@v3
70+
- uses: dlang-community/setup-dlang@v1
6971
with:
7072
compiler: dmd-latest
7173
- name: 'Run YAML test suite'

0 commit comments

Comments
 (0)