Skip to content

Commit

Permalink
Update actions/checkout and actions/download-artifact (#667)
Browse files Browse the repository at this point in the history
  • Loading branch information
Akuli authored Jan 21, 2025
1 parent b08a340 commit 1c7ce74
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/autofix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
timeout-minutes: 1
steps:
# git-auto-commit-action is a bit tricky to use, see its README
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.head_ref }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ jobs:
timeout-minutes: 1
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: shellcheck --color=always --shell=bash --exclude=SC2086,SC2059,SC2046,SC2235,SC2002,SC2206,SC2068,SC2207,SC2013 *.sh activate

editorconfig-checker:
timeout-minutes: 1
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
# Hard-coded commit, because the latest changes aren't tagged.
- uses: editorconfig-checker/action-editorconfig-checker@d4fca16fc71adef10fbe101903b654449fa9570c
with:
Expand All @@ -27,7 +27,7 @@ jobs:
timeout-minutes: 1
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.13'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
# Testing all levels because there was a bug that only happened with -O1. (#224)
opt-level: ['-O0', '-O1', '-O2', '-O3']
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: sudo apt update
- run: sudo apt install -y llvm-${{ matrix.llvm-version }}-dev clang-${{ matrix.llvm-version }} make
- run: echo "LLVM_CONFIG=llvm-config-${{ matrix.llvm-version }}" >> $GITHUB_ENV
Expand All @@ -38,7 +38,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: sudo apt update
- run: sudo apt install -y llvm-{14,15,16}-dev clang-{14,15,16} make
- run: LLVM_CONFIG=llvm-config-14 ./doctest.sh
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
# Testing all levels because there was a bug that only happened with -O1. (#224)
opt-level: ['-O0', '-O1', '-O2', '-O3']
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: brew install bash diffutils llvm@${{ matrix.llvm-version }}
- name: "Select LLVM version"
run: |
Expand All @@ -41,6 +41,6 @@ jobs:
runs-on: macos-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: brew install bash diffutils llvm@15
- run: ./doctest.sh
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: git fetch --tags
- id: tagname
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/valgrind.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
opt-level: ['-O0', '-O1', '-O2', '-O3']
fail-fast: false
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

# Do not valgrind when there's nothing new to valgrind in the repo
- name: Check if there was any commits within the last 24 hours
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
runs-on: windows-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
# TODO: figure out why --small doesn't work here
- run: source activate && ./windows_setup.sh
shell: bash
Expand Down Expand Up @@ -142,7 +142,7 @@ jobs:
- name: Display size of jou.zip
run: ls -lh jou.zip
shell: bash
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: windows-zip
path: jou.zip
Expand All @@ -151,7 +151,7 @@ jobs:
runs-on: windows-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
# Add a space in the folder name to trigger bugs like #165
path: "test dir"
Expand All @@ -171,7 +171,7 @@ jobs:
runs-on: windows-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: ./windows_setup.sh --small
shell: bash
- run: source activate && ./doctest.sh
Expand All @@ -182,10 +182,10 @@ jobs:
runs-on: windows-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
path: repo
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: windows-zip
- run: unzip jou.zip
Expand Down

0 comments on commit 1c7ce74

Please sign in to comment.