Upgrade some deprecated GitHub actions (#16607)

The UI complains about them being on Node 16.
This commit is contained in:
Mathias LANG 2024-06-22 06:24:46 +02:00 committed by GitHub
parent 9fd775b37c
commit 1d8f290318
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 7 deletions

View file

@ -17,7 +17,7 @@ jobs:
env: env:
SKIP: no-commit-to-branch SKIP: no-commit-to-branch
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Configure Git - name: Configure Git
run: | run: |
git config --global color.diff.meta "11" git config --global color.diff.meta "11"
@ -29,8 +29,8 @@ jobs:
git config --global color.diff.whitespace "red reverse" git config --global color.diff.whitespace "red reverse"
git config --global diff.wsErrorHighlight "all" git config --global diff.wsErrorHighlight "all"
- uses: actions/setup-python@v3.0.0 - uses: actions/setup-python@v5
- uses: pre-commit/action@v3.0.0 - uses: pre-commit/action@v3.0.1
- name: Check changelog entries - name: Check changelog entries
run: | run: |
check_prefix="$(find changelog -type f -name '*\.dd' -a ! -name 'dmd\.*' -a ! -name 'druntime\.*')" check_prefix="$(find changelog -type f -name '*\.dd' -a ! -name 'dmd\.*' -a ! -name 'druntime\.*')"

View file

@ -172,12 +172,12 @@ jobs:
# Checking out up DMD, druntime, Phobos # # Checking out up DMD, druntime, Phobos #
######################################### #########################################
- name: Checkout DMD - name: Checkout DMD
uses: actions/checkout@v3 uses: actions/checkout@v4
with: with:
path: dmd path: dmd
persist-credentials: false persist-credentials: false
- name: Checkout Phobos - name: Checkout Phobos
uses: actions/checkout@v3 uses: actions/checkout@v4
with: with:
path: phobos path: phobos
repository: dlang/phobos repository: dlang/phobos
@ -191,7 +191,7 @@ jobs:
- name: '[Posix] Load cached clang' - name: '[Posix] Load cached clang'
id: cache-clang id: cache-clang
if: matrix.compiler == 'clang' && runner.os != 'Windows' if: matrix.compiler == 'clang' && runner.os != 'Windows'
uses: actions/cache@v3 uses: actions/cache@v4
with: with:
path: ${{ github.workspace }}/clang+llvm-${{ matrix.cxx-version }}-${{ matrix.arch }}/ path: ${{ github.workspace }}/clang+llvm-${{ matrix.cxx-version }}-${{ matrix.arch }}/
key: ${{ matrix.cxx-version }}-${{ matrix.arch }}-2022-09-25-2121 key: ${{ matrix.cxx-version }}-${{ matrix.arch }}-2022-09-25-2121
@ -367,7 +367,7 @@ jobs:
######################################## ########################################
- name: Store artifacts - name: Store artifacts
if: ${{ matrix.storeArtifacts }} if: ${{ matrix.storeArtifacts }}
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: dmd-${{ matrix.os }} name: dmd-${{ matrix.os }}
path: install path: install