From 88c07b4f35b15d4e8b6311a9ad6b7140ff0a7af1 Mon Sep 17 00:00:00 2001 From: gisler Date: Fri, 3 Jan 2025 21:57:23 +0100 Subject: [PATCH] ci: update configs --- .github/workflows/GitHub Pages.yml | 2 +- .github/workflows/Lint Code Base.yml | 2 +- .github/workflows/R-CMD-check-backwards.yml | 2 +- RPhosFate.Rproj | 1 + 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/GitHub Pages.yml b/.github/workflows/GitHub Pages.yml index eee484e..2cd8e01 100644 --- a/.github/workflows/GitHub Pages.yml +++ b/.github/workflows/GitHub Pages.yml @@ -14,7 +14,7 @@ jobs: env: GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} - # if: ${{ github.event.workflow_run.conclusion == 'success' }} + if: ${{ github.event.workflow_run.conclusion == 'success' }} steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/Lint Code Base.yml b/.github/workflows/Lint Code Base.yml index fb575ed..ca9e5fd 100644 --- a/.github/workflows/Lint Code Base.yml +++ b/.github/workflows/Lint Code Base.yml @@ -43,7 +43,7 @@ jobs: # Run linter against code base # ################################ - name: Lint Code Base - uses: github/super-linter@v6 + uses: github/super-linter@v7 env: VALIDATE_ALL_CODEBASE: true DEFAULT_BRANCH: main diff --git a/.github/workflows/R-CMD-check-backwards.yml b/.github/workflows/R-CMD-check-backwards.yml index 50293ee..cb3b6f8 100644 --- a/.github/workflows/R-CMD-check-backwards.yml +++ b/.github/workflows/R-CMD-check-backwards.yml @@ -49,7 +49,7 @@ jobs: args = c("--no-manual", "--as-cran"), build_args = "--no-manual", check_dir = "check", - error_on = "error" + error_on = "warning" ) shell: Rscript {0} diff --git a/RPhosFate.Rproj b/RPhosFate.Rproj index aaddc15..19b982e 100644 --- a/RPhosFate.Rproj +++ b/RPhosFate.Rproj @@ -19,4 +19,5 @@ StripTrailingWhitespace: Yes BuildType: Package PackageUseDevtools: Yes PackageInstallArgs: --no-multiarch --with-keep.source +PackageCheckArgs: --as-cran PackageRoxygenize: rd,collate,namespace