Skip to content

Commit

Permalink
fix: Use newer R and theValidatoR versions (#465)
Browse files Browse the repository at this point in the history
Use newer R and theValidatoR versions
  • Loading branch information
cicdguy authored Dec 10, 2024
1 parent 182aa40 commit 1d150e6
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/validate_generic_master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
name: Create report 📃
runs-on: ubuntu-latest
container:
image: rocker/verse:4.2.1
image: rocker/verse:4.4.2
# Set Github token permissions
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -20,23 +20,21 @@ jobs:
deployments: write
steps:
- name: Checkout repo 🛎
uses: actions/checkout@v3
uses: actions/checkout@v4.1.1

- name: Build report 🏗
id: validation
uses: insightsengineering/thevalidatoR@v1
uses: insightsengineering/thevalidatoR@v2
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
with:
report_output_prefix: validation_report

# Upload the validation report to the release
- name: Upload report to release 🔼
if: success()
uses: svenstaro/upload-release-action@v2
with:
file: ${{ steps.validation.outputs.report_output_filename }}
asset_name: ${{ steps.validation.outputs.report_output_filename }}
file: ./validation_report.pdf
asset_name: validation-report.pdf
repo_token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref }}
overwrite: false

0 comments on commit 1d150e6

Please sign in to comment.