mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 05:00:16 +03:00
Upgrade some deprecated GitHub actions (#16607)
The UI complains about them being on Node 16.
This commit is contained in:
parent
9fd775b37c
commit
1d8f290318
2 changed files with 7 additions and 7 deletions
6
.github/workflows/pre_commit.yml
vendored
6
.github/workflows/pre_commit.yml
vendored
|
@ -17,7 +17,7 @@ jobs:
|
|||
env:
|
||||
SKIP: no-commit-to-branch
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
- name: Configure Git
|
||||
run: |
|
||||
git config --global color.diff.meta "11"
|
||||
|
@ -29,8 +29,8 @@ jobs:
|
|||
git config --global color.diff.whitespace "red reverse"
|
||||
|
||||
git config --global diff.wsErrorHighlight "all"
|
||||
- uses: actions/setup-python@v3.0.0
|
||||
- uses: pre-commit/action@v3.0.0
|
||||
- uses: actions/setup-python@v5
|
||||
- uses: pre-commit/action@v3.0.1
|
||||
- name: Check changelog entries
|
||||
run: |
|
||||
check_prefix="$(find changelog -type f -name '*\.dd' -a ! -name 'dmd\.*' -a ! -name 'druntime\.*')"
|
||||
|
|
8
.github/workflows/runnable_cxx.yml
vendored
8
.github/workflows/runnable_cxx.yml
vendored
|
@ -172,12 +172,12 @@ jobs:
|
|||
# Checking out up DMD, druntime, Phobos #
|
||||
#########################################
|
||||
- name: Checkout DMD
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
path: dmd
|
||||
persist-credentials: false
|
||||
- name: Checkout Phobos
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
path: phobos
|
||||
repository: dlang/phobos
|
||||
|
@ -191,7 +191,7 @@ jobs:
|
|||
- name: '[Posix] Load cached clang'
|
||||
id: cache-clang
|
||||
if: matrix.compiler == 'clang' && runner.os != 'Windows'
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: ${{ github.workspace }}/clang+llvm-${{ matrix.cxx-version }}-${{ matrix.arch }}/
|
||||
key: ${{ matrix.cxx-version }}-${{ matrix.arch }}-2022-09-25-2121
|
||||
|
@ -367,7 +367,7 @@ jobs:
|
|||
########################################
|
||||
- name: Store artifacts
|
||||
if: ${{ matrix.storeArtifacts }}
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: dmd-${{ matrix.os }}
|
||||
path: install
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue