From 3bd94f72ea1f0bc238ac064bda25bb68514b5a00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kirill=20M=C3=BCller?= Date: Sun, 10 Nov 2024 04:27:25 +0100 Subject: [PATCH] ci: Import from actions-sync, check carefully (#375) --- .github/workflows/R-CMD-check.yaml | 7 +++++-- .github/workflows/fledge.yaml | 2 +- .github/workflows/install/action.yml | 3 +++ .github/workflows/pkgdown.yaml | 2 +- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index e2234cde6..2af0024c6 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -41,7 +41,6 @@ concurrency: name: rcc - jobs: rcc-smoke: runs-on: ubuntu-latest @@ -107,7 +106,7 @@ jobs: cache-version: rcc-smoke-2 needs: check, website # Beware of using dev pkgdown here, has brought in dev dependencies in the past - extra-packages: any::rcmdcheck r-lib/roxygen2 any::decor r-lib/styler r-lib/pkgdown@f-readme-tweak deps::. + extra-packages: any::rcmdcheck r-lib/roxygen2 any::decor r-lib/styler r-lib/pkgdown deps::. - name: Install package run: | @@ -268,6 +267,8 @@ jobs: with: results: ${{ runner.os }}-r${{ matrix.r }} +# The status update is taken care of by R-CMD-check-status.yaml + rcc-suggests: needs: - rcc-smoke @@ -341,3 +342,5 @@ jobs: - uses: ./.github/workflows/check with: results: ${{ matrix.package }} + +# The status update is taken care of by R-CMD-check-status.yaml diff --git a/.github/workflows/fledge.yaml b/.github/workflows/fledge.yaml index d880c55d7..02e9101f4 100644 --- a/.github/workflows/fledge.yaml +++ b/.github/workflows/fledge.yaml @@ -43,7 +43,7 @@ jobs: env: FLEDGE_GHA_CI: true steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: fetch-depth: 0 diff --git a/.github/workflows/install/action.yml b/.github/workflows/install/action.yml index 702aedabd..263ddf3a9 100644 --- a/.github/workflows/install/action.yml +++ b/.github/workflows/install/action.yml @@ -56,6 +56,9 @@ runs: echo "_R_CHECK_UNDOC_USE_ALL_NAMES_=true" | tee -a $GITHUB_ENV echo "_R_CHECK_URLS_SHOW_301_STATUS_=true" | tee -a $GITHUB_ENV echo "_R_CXX_USE_NO_REMAP_=true" | tee -a $GITHUB_ENV + # There is no way to disable recency and frequency checks when the incoming checks are run + # echo "_R_CHECK_CRAN_INCOMING_=true" | tee -a $GITHUB_ENV + echo "_R_CHECK_CRAN_INCOMING_SKIP_LARGE_VERSION_=true" | tee -a $GITHUB_ENV shell: bash - name: Set environment variables (non-Windows only) diff --git a/.github/workflows/pkgdown.yaml b/.github/workflows/pkgdown.yaml index 6afddb16f..de69b1494 100644 --- a/.github/workflows/pkgdown.yaml +++ b/.github/workflows/pkgdown.yaml @@ -42,7 +42,7 @@ jobs: install-r: false cache-version: pkgdown-2 needs: website - extra-packages: r-lib/pkgdown@f-readme-tweak local::. + extra-packages: r-lib/pkgdown local::. - uses: ./.github/workflows/custom/after-install if: hashFiles('.github/workflows/custom/after-install/action.yml') != ''