Skip to content

Commit

Permalink
Update actions versions
Browse files Browse the repository at this point in the history
  • Loading branch information
walkowif committed Feb 8, 2024
1 parent bc0d8c5 commit 6c24b99
Show file tree
Hide file tree
Showing 11 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/bioccheck.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ jobs:
path: ${{ github.event.repository.name }}

- name: Restore SD cache 💰
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: sd-${{ runner.os }}-${{ github.event.repository.name }}
path: ~/.staged.dependencies
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/build-check-install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ jobs:
if: >-
inputs.publish-unit-test-report-gh-pages == true
&& github.event_name != 'pull_request'
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: npm-${{ runner.os }}-${{ github.job }}
restore-keys: |
Expand Down Expand Up @@ -312,7 +312,7 @@ jobs:

- name: Restore SD cache 💰
if: inputs.install-deps-from-package-repositories == ''
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: sd-${{ runner.os }}-${{ github.event.repository.name }}
path: ~/.staged.dependencies
Expand Down Expand Up @@ -386,7 +386,7 @@ jobs:

- name: Restore any additional caches 📥
if: inputs.additional-caches != ''
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: "${{ inputs.additional-caches }}"
key: additional-caches-${{ runner.os }}
Expand Down Expand Up @@ -512,7 +512,7 @@ jobs:

- name: Check whether JUnit XML report exists 🚦
id: check-junit-xml
uses: andstor/file-existence-action@v2
uses: andstor/file-existence-action@v3
with:
files: "${{ env.PKGNAME }}.Rcheck/tests/testthat/junit-result.xml"

Expand All @@ -538,7 +538,7 @@ jobs:
steps.check-junit-xml.outputs.files_exists == 'true'
&& inputs.publish-unit-test-report-gh-pages == true
&& github.event_name != 'pull_request'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: unit-test-report
path: "index.html"
Expand Down Expand Up @@ -661,7 +661,7 @@ jobs:
env.junit_xml_comparison_result_method == 'artifact' &&
!github.event.pull_request.head.repo.fork &&
github.event_name == 'pull_request'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
path: output-artifact.md
name: junit-xml-report-comparison
Expand Down Expand Up @@ -754,7 +754,7 @@ jobs:

- name: Upload package build ⤴
if: startsWith(github.ref, 'refs/tags/v')
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
path: ${{ github.event.repository.name }}/${{ inputs.package-subdirectory }}/${{ env.PKGBUILD }}
name: ${{ env.PKGBUILD }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/grammar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,15 @@ jobs:
uses: actions/checkout@v4

- name: Restore npm cache 💰
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: npm-${{ runner.os }}-${{ github.job }}
restore-keys: |
npm-${{ runner.os }}-
path: node_modules

- name: Setup NodeJS ☊
uses: actions/setup-node@v3
uses: actions/setup-node@v4
id: npm-cache
with:
node-version: 20
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
- name: Check whether annotations exist 💭
id: check-annotations
if: inputs.enable-annotations
uses: andstor/file-existence-action@v2
uses: andstor/file-existence-action@v3
with:
files: "annotations.json"

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ jobs:
path: ${{ github.event.repository.name }}

- name: Restore SD cache 💰
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: sd-${{ runner.os }}-${{ github.event.repository.name }}
path: ~/.staged.dependencies
Expand Down Expand Up @@ -267,7 +267,7 @@ jobs:

- name: Upload docs for review ⬆
if: github.event_name == 'pull_request' || startsWith(github.ref, 'refs/tags/v')
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: pkgdown.zip
path: pkgdown.zip
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/roxygen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
path: ${{ github.event.repository.name }}

- name: Restore SD cache 💰
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: sd-${{ runner.os }}-${{ github.event.repository.name }}
path: ~/.staged.dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/style.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ jobs:

- name: Check file existence 🤔
id: check_files
uses: andstor/file-existence-action@v2
uses: andstor/file-existence-action@v3
with:
files: "/tmp/style-problems.R, /tmp/style-problems.txt"

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ jobs:
path: ${{ github.event.repository.name }}

- name: Restore SD cache 💰
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: sd-${{ runner.os }}-${{ github.event.repository.name }}
path: ~/.staged.dependencies
Expand Down Expand Up @@ -257,7 +257,7 @@ jobs:

- name: Check whether coverage reports exists 💭
id: check_coverage_reports
uses: andstor/file-existence-action@v2
uses: andstor/file-existence-action@v3
with:
files: >-
${{ github.event.repository.name }}/${{ inputs.package-subdirectory }}/coverage.xml,
Expand All @@ -276,7 +276,7 @@ jobs:
continue-on-error: true

- name: Upload report 🔼
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: coverage-report
path: |
Expand Down Expand Up @@ -312,7 +312,7 @@ jobs:
path: ${{ github.event.repository.name }}

- name: Restore SD cache 💰
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: sd-${{ runner.os }}-${{ github.event.repository.name }}
path: ~/.staged.dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/validation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:
shell: bash

- name: Restore SD cache 💰
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: sd-${{ runner.os }}-${{ github.event.repository.name }}
path: ~/.staged.dependencies
Expand All @@ -109,7 +109,7 @@ jobs:

- name: Upload report for review ⬆
if: github.ref != 'refs/heads/main'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: validation_report.pdf
path: validation_report.pdf
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/verdepcheck.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,14 +92,14 @@ jobs:

- name: Upload lock file ⤴️
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: "lock-file-${{ env.strategy }}"
path: pkg.lock

- name: Upload output file ⤴️
if: always()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: "res-${{ env.strategy }}"
path: res.RDS
4 changes: 2 additions & 2 deletions .github/workflows/version-bump.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,15 +100,15 @@ jobs:

- name: Check if a pre-commit config exists
id: precommit-config-exists
uses: andstor/file-existence-action@v2
uses: andstor/file-existence-action@v3
with:
files: ".pre-commit-config.yaml"

- name: Setup Python 🐍
if: |
inputs.disable-precommit-autoupdate != 'true' &&
steps.precommit-config-exists.outputs.files_exists == 'true'
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.12'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
uses: actions/checkout@v4

- name: Set up Python 🐍
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.12'

Expand Down

0 comments on commit 6c24b99

Please sign in to comment.