Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update actions versions
Browse files Browse the repository at this point in the history
walkowif committed Feb 8, 2024

Verified

This commit was signed with the committer’s verified signature.
bosesuneha Suneha Bose
1 parent bc0d8c5 commit 6c24b99
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
@@ -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
14 changes: 7 additions & 7 deletions .github/workflows/build-check-install.yaml
Original file line number Diff line number Diff line change
@@ -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: |
@@ -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
@@ -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 }}
@@ -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"

@@ -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"
@@ -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
@@ -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 }}
6 changes: 3 additions & 3 deletions .github/workflows/grammar.yaml
Original file line number Diff line number Diff line change
@@ -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
@@ -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"

4 changes: 2 additions & 2 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
@@ -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
@@ -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
2 changes: 1 addition & 1 deletion .github/workflows/roxygen.yaml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion .github/workflows/style.yaml
Original file line number Diff line number Diff line change
@@ -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"

8 changes: 4 additions & 4 deletions .github/workflows/test-coverage.yaml
Original file line number Diff line number Diff line change
@@ -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
@@ -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,
@@ -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: |
@@ -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
4 changes: 2 additions & 2 deletions .github/workflows/validation.yaml
Original file line number Diff line number Diff line change
@@ -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
@@ -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
4 changes: 2 additions & 2 deletions .github/workflows/verdepcheck.yaml
Original file line number Diff line number Diff line change
@@ -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
@@ -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'

2 changes: 1 addition & 1 deletion .github/workflows/version.yaml
Original file line number Diff line number Diff line change
@@ -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'

0 comments on commit 6c24b99

Please sign in to comment.