Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update actions versions #207

Merged
merged 6 commits into from
Feb 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/bioccheck.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
uses: tj-actions/branch-names@v7

- name: Checkout repo (PR) 🛎
uses: actions/checkout@v3
uses: actions/checkout@v4
if: github.event_name == 'pull_request'
with:
ref: ${{ steps.branch-name.outputs.head_ref_branch }}
Expand All @@ -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
16 changes: 8 additions & 8 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 All @@ -564,7 +564,7 @@ jobs:

- name: Fetch JUnit XML reports from ${{ env.junit_xml_storage }} ⤵️
if: steps.check-junit-xml.outputs.files_exists == 'true' && env.junit_xml_comparison == 'true'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: ${{ env.junit_xml_storage }}
fetch-depth: 0
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
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ Encoding: UTF-8
Language: en-US
LazyData: true
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.3.0
RoxygenNote: 7.3.1
Loading