Skip to content

Commit 45af722

Browse files
authored
Merge pull request #3208 from buzden/bump-deprecated-actions
[ ci ] Bump deprecated versions of used CI actions to avoid warnings
2 parents dd95026 + 87bdf0b commit 45af722

File tree

5 files changed

+45
-45
lines changed

5 files changed

+45
-45
lines changed

Diff for: .github/workflows/ci-bootstrap.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
runs-on: ubuntu-20.04
2626
steps:
2727
- name: Checkout Project
28-
uses: actions/checkout@v3
28+
uses: actions/checkout@v4
2929
with:
3030
# for pull_request so we can do HEAD^2
3131
fetch-depth: 2
@@ -53,7 +53,7 @@ jobs:
5353
SCHEME: scheme
5454
steps:
5555
- name: Checkout
56-
uses: actions/checkout@v3
56+
uses: actions/checkout@v4
5757
- name: Install build dependencies (LTS versions)
5858
run: |
5959
sudo apt-get update

Diff for: .github/workflows/ci-idris2-and-libs.yml

+40-40
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
runs-on: ubuntu-latest
5353
steps:
5454
- name: Checkout Project
55-
uses: actions/checkout@v3
55+
uses: actions/checkout@v4
5656
with:
5757
# for pull_request so we can do HEAD^2
5858
fetch-depth: 2
@@ -87,7 +87,7 @@ jobs:
8787
SCHEME: scheme
8888
steps:
8989
- name: Checkout
90-
uses: actions/checkout@v3
90+
uses: actions/checkout@v4
9191
- name: Install build dependencies
9292
run: |
9393
sudo apt-get update
@@ -98,7 +98,7 @@ jobs:
9898
# or by rebuilding it if necessary.
9999
- name: Cache Chez Previous Version
100100
id: previous-version-cache
101-
uses: actions/cache@v3
101+
uses: actions/cache@v4
102102
with:
103103
path: Idris2-${{ env.IDRIS2_MINIMUM_COMPAT_VERSION }}
104104
key: ${{ runner.os }}-idris2-bootstrapped-chez-${{ env.IDRIS2_MINIMUM_COMPAT_VERSION }}
@@ -121,7 +121,7 @@ jobs:
121121
run: |
122122
make && make install
123123
- name: Artifact Idris2 from previous version
124-
uses: actions/upload-artifact@v3
124+
uses: actions/upload-artifact@v4
125125
with:
126126
name: ubuntu-installed-idris2-${{ env.IDRIS2_MINIMUM_COMPAT_VERSION }}-chez
127127
path: ~/.idris2/
@@ -144,7 +144,7 @@ jobs:
144144
SCHEME: scheme
145145
steps:
146146
- name: Checkout
147-
uses: actions/checkout@v3
147+
uses: actions/checkout@v4
148148
- name: Install build dependencies
149149
run: |
150150
sudo apt-get update
@@ -155,7 +155,7 @@ jobs:
155155
- name: Build from bootstrap
156156
run: make bootstrap && make install
157157
- name: Artifact Bootstrapped Idris2
158-
uses: actions/upload-artifact@v3
158+
uses: actions/upload-artifact@v4
159159
with:
160160
name: ubuntu-installed-bootstrapped-idris2-chez
161161
path: ~/.idris2/
@@ -171,7 +171,7 @@ jobs:
171171
SCHEME: chez
172172
steps:
173173
- name: Checkout
174-
uses: actions/checkout@v3
174+
uses: actions/checkout@v4
175175
- name: Install build dependencies
176176
run: |
177177
brew update
@@ -184,7 +184,7 @@ jobs:
184184
run: make bootstrap && make install
185185
shell: bash
186186
- name: Artifact Bootstrapped Idris2
187-
uses: actions/upload-artifact@v3
187+
uses: actions/upload-artifact@v4
188188
with:
189189
name: macos-installed-bootstrapped-idris2-chez
190190
path: ~/.idris2/
@@ -207,7 +207,7 @@ jobs:
207207
run: |
208208
git config --global core.autocrlf false
209209
- name: Checkout
210-
uses: actions/checkout@v3
210+
uses: actions/checkout@v4
211211
- name: Get Chez Scheme
212212
run: |
213213
git clone --depth 1 --branch v9.5.8a https://github.com/cisco/ChezScheme
@@ -234,7 +234,7 @@ jobs:
234234
- name: Install
235235
run: c:\msys64\usr\bin\bash -l -c "cd $env:PWD && make install"
236236
- name: Artifact Idris2 from chez
237-
uses: actions/upload-artifact@v3
237+
uses: actions/upload-artifact@v4
238238
with:
239239
name: windows-installed-bootstrapped-idris2-chez
240240
path: ${{ env.IDRIS_PREFIX }}
@@ -247,7 +247,7 @@ jobs:
247247
|| contains(needs.initialise.outputs.commit_message, '[ci: nix]')
248248
|| contains(needs.initialise.outputs.commit_message, '[ci: chez]'))
249249
steps:
250-
- uses: actions/checkout@v3
250+
- uses: actions/checkout@v4
251251
with:
252252
fetch-depth: 0
253253
- uses: cachix/install-nix-action@v18
@@ -270,7 +270,7 @@ jobs:
270270
IDRIS2_CG: racket
271271
steps:
272272
- name: Checkout
273-
uses: actions/checkout@v3
273+
uses: actions/checkout@v4
274274
- name: Install build dependencies
275275
run: |
276276
sudo apt-get install -y racket
@@ -280,7 +280,7 @@ jobs:
280280
- name: Build from bootstrap
281281
run: make bootstrap-racket && make install
282282
- name: Artifact Bootstrapped Idris2
283-
uses: actions/upload-artifact@v3
283+
uses: actions/upload-artifact@v4
284284
with:
285285
name: ubuntu-installed-bootstrapped-idris2-racket
286286
path: ~/.idris2/
@@ -299,9 +299,9 @@ jobs:
299299
SCHEME: scheme
300300
steps:
301301
- name: Checkout
302-
uses: actions/checkout@v3
302+
uses: actions/checkout@v4
303303
- name: Download Idris2 Artifact
304-
uses: actions/download-artifact@v3
304+
uses: actions/download-artifact@v4
305305
with:
306306
name: ubuntu-installed-bootstrapped-idris2-chez
307307
path: ~/.idris2/
@@ -323,9 +323,9 @@ jobs:
323323
SCHEME: chez
324324
steps:
325325
- name: Checkout
326-
uses: actions/checkout@v3
326+
uses: actions/checkout@v4
327327
- name: Download Idris2 Artifact
328-
uses: actions/download-artifact@v3
328+
uses: actions/download-artifact@v4
329329
with:
330330
name: macos-installed-bootstrapped-idris2-chez
331331
path: ~/.idris2/
@@ -353,9 +353,9 @@ jobs:
353353
IDRIS2_CG: racket
354354
steps:
355355
- name: Checkout
356-
uses: actions/checkout@v3
356+
uses: actions/checkout@v4
357357
- name: Download Idris2 Artifact
358-
uses: actions/download-artifact@v3
358+
uses: actions/download-artifact@v4
359359
with:
360360
name: ubuntu-installed-bootstrapped-idris2-racket
361361
path: ~/.idris2/
@@ -380,9 +380,9 @@ jobs:
380380
IDRIS2_CG: chez
381381
steps:
382382
- name: Checkout
383-
uses: actions/checkout@v3
383+
uses: actions/checkout@v4
384384
- name: Download Idris2 Artifact
385-
uses: actions/download-artifact@v3
385+
uses: actions/download-artifact@v4
386386
with:
387387
name: ubuntu-installed-idris2-${{ env.IDRIS2_MINIMUM_COMPAT_VERSION }}-chez
388388
path: ~/.idris2/
@@ -397,7 +397,7 @@ jobs:
397397
- name: Test self-hosted from previous version
398398
run: make ci-ubuntu-test INTERACTIVE=''
399399
- name: Artifact Idris2
400-
uses: actions/upload-artifact@v3
400+
uses: actions/upload-artifact@v4
401401
with:
402402
name: idris2-nightly-chez
403403
path: ~/.idris2/
@@ -421,7 +421,7 @@ jobs:
421421
git config --global core.autocrlf false
422422
echo "PWD=$(c:\msys64\usr\bin\cygpath -u $(pwd))" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
423423
- name: Checkout
424-
uses: actions/checkout@v3
424+
uses: actions/checkout@v4
425425
- name: Get Chez Scheme
426426
run: |
427427
git clone --depth 1 --branch v9.5.8a https://github.com/cisco/ChezScheme
@@ -439,7 +439,7 @@ jobs:
439439
echo "IDRIS_PREFIX=$idris" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
440440
echo "PREFIX=$(c:\msys64\usr\bin\cygpath -u $idris)" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
441441
- name: Download Idris2 Artifact
442-
uses: actions/download-artifact@v3
442+
uses: actions/download-artifact@v4
443443
with:
444444
name: windows-installed-bootstrapped-idris2-chez
445445
path: ${{ env.IDRIS_PREFIX }}
@@ -469,9 +469,9 @@ jobs:
469469
IDRIS2_CG: chez
470470
steps:
471471
- name: Checkout
472-
uses: actions/checkout@v3
472+
uses: actions/checkout@v4
473473
- name: Download Idris2 Artifact
474-
uses: actions/download-artifact@v3
474+
uses: actions/download-artifact@v4
475475
with:
476476
name: ubuntu-installed-bootstrapped-idris2-chez
477477
path: ~/.idris2/
@@ -510,7 +510,7 @@ jobs:
510510
IDRIS2_CG: chez
511511
steps:
512512
- name: Download Idris2 Artifact
513-
uses: actions/download-artifact@v3
513+
uses: actions/download-artifact@v4
514514
with:
515515
name: idris2-nightly-chez
516516
path: ~/.idris2/
@@ -521,7 +521,7 @@ jobs:
521521
echo "$HOME/.idris2/bin" >> "$GITHUB_PATH"
522522
chmod +x "$HOME/.idris2/bin/idris2" "$HOME/.idris2/bin/idris2_app/"*
523523
- name: Checkout
524-
uses: actions/checkout@v3
524+
uses: actions/checkout@v4
525525
with:
526526
repository: 'ohad/collie'
527527
- name: Build Collie
@@ -542,7 +542,7 @@ jobs:
542542
IDRIS2_CG: chez
543543
steps:
544544
- name: Download Idris2 Artifact
545-
uses: actions/download-artifact@v3
545+
uses: actions/download-artifact@v4
546546
with:
547547
name: idris2-nightly-chez
548548
path: ~/.idris2/
@@ -553,7 +553,7 @@ jobs:
553553
echo "$HOME/.idris2/bin" >> "$GITHUB_PATH"
554554
chmod +x "$HOME/.idris2/bin/idris2" "$HOME/.idris2/bin/idris2_app/"*
555555
- name: Checkout
556-
uses: actions/checkout@v3
556+
uses: actions/checkout@v4
557557
with:
558558
repository: 'frex-project/idris-frex'
559559
- name: Build Frex
@@ -577,7 +577,7 @@ jobs:
577577
IDRIS2_CG: chez
578578
steps:
579579
- name: Download Idris2 Artifact
580-
uses: actions/download-artifact@v3
580+
uses: actions/download-artifact@v4
581581
with:
582582
name: idris2-nightly-chez
583583
path: ~/.idris2/
@@ -588,7 +588,7 @@ jobs:
588588
echo "$HOME/.idris2/bin" >> "$GITHUB_PATH"
589589
chmod +x "$HOME/.idris2/bin/idris2" "$HOME/.idris2/bin/idris2_app/"*
590590
- name: Checkout
591-
uses: actions/checkout@v3
591+
uses: actions/checkout@v4
592592
with:
593593
repository: 'stefan-hoeck/idris2-elab-util'
594594
- name: Build idris2-elab-util
@@ -615,7 +615,7 @@ jobs:
615615
container: ghcr.io/stefan-hoeck/idris2-pack:latest
616616
steps:
617617
- name: Checkout
618-
uses: actions/checkout@v3
618+
uses: actions/checkout@v4
619619
with:
620620
repository: 'stefan-hoeck/idris2-pack'
621621
# by default, pack uses the main idris2 head, not the current job's one
@@ -658,7 +658,7 @@ jobs:
658658
fail-fast: false
659659
steps:
660660
- name: Checkout
661-
uses: actions/checkout@v3
661+
uses: actions/checkout@v4
662662
with:
663663
repository: 'idris-community/idris2-lsp'
664664
- name: Toml setup
@@ -705,7 +705,7 @@ jobs:
705705
fi
706706
707707
- name: Download Idris2 Artifact
708-
uses: actions/download-artifact@v3
708+
uses: actions/download-artifact@v4
709709
with:
710710
name: idris2-nightly-chez
711711
path: ~/.idris2/
@@ -716,26 +716,26 @@ jobs:
716716
echo "$HOME/.idris2/bin" >> "$GITHUB_PATH"
717717
chmod +x "$HOME/.idris2/bin/idris2" "$HOME/.idris2/bin/idris2_app/"*
718718
- name: Checkout idris2
719-
uses: actions/checkout@v3
719+
uses: actions/checkout@v4
720720
- name: Build API
721721
run: make install-api
722722
shell: bash
723723
- name: Checkout collie
724-
uses: actions/checkout@v3
724+
uses: actions/checkout@v4
725725
with:
726726
repository: 'ohad/collie'
727727
- name: Build and install Collie
728728
run: |
729729
make install
730730
- name: Checkout idrall
731-
uses: actions/checkout@v3
731+
uses: actions/checkout@v4
732732
with:
733733
repository: 'alexhumphreys/idrall'
734734
- name: Build and install idrall
735735
run: |
736736
make install
737737
- name: Checkout katla
738-
uses: actions/checkout@v3
738+
uses: actions/checkout@v4
739739
with:
740740
repository: 'idris-community/katla'
741741
- name: Build and install katla
@@ -745,7 +745,7 @@ jobs:
745745
cp -r build/exec/* "${HOME}"/.local/bin/
746746
echo "${HOME}/.local/bin" >> "$GITHUB_PATH"
747747
- name: Checkout idris2
748-
uses: actions/checkout@v3
748+
uses: actions/checkout@v4
749749
- name: Build html doc & landing page
750750
run: |
751751
make -C libs/prelude/ install docs IDRIS2=idris2

Diff for: .github/workflows/ci-lint.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Checkout
17-
uses: actions/checkout@v3
17+
uses: actions/checkout@v4
1818
- name: Lint the sources
1919
run: python3 lint/lint.py
2020
shell: bash

Diff for: .github/workflows/ci-sphinx.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
steps:
1818

1919
- name: Checkout
20-
uses: actions/checkout@v3
20+
uses: actions/checkout@v4
2121
- name: Build docs
2222
run: |
2323
sudo apt-get install -y python3-sphinx

Diff for: .github/workflows/ci-super-linter.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
# Checkout the code base #
4040
##########################
4141
- name: Checkout Code
42-
uses: actions/checkout@v3
42+
uses: actions/checkout@v4
4343
with:
4444
# Full git history is needed to get a proper list of changed files within `super-linter`
4545
fetch-depth: 0

0 commit comments

Comments
 (0)