From c4ca8cfaba0c21eb50bdaeaacbdf201ec213d899 Mon Sep 17 00:00:00 2001 From: "Yuhang (Tom) Lin" Date: Fri, 10 May 2024 13:56:20 -0500 Subject: [PATCH] Update GitHub actions --- .github/workflows/R-CMD-check.yaml | 24 ++---------------------- .github/workflows/pkgdown.yaml | 2 -- .github/workflows/test-coverage.yaml | 4 ++-- CITATION.cff | 4 ++++ README.md | 2 +- 5 files changed, 9 insertions(+), 27 deletions(-) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 27e6cee..883f77d 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -10,33 +10,16 @@ name: R-CMD-check jobs: R-CMD-check: - runs-on: ${{ matrix.config.os }} - - name: ${{ matrix.config.os }} (${{ matrix.config.r }}) - - strategy: - fail-fast: true - matrix: - config: - # - {os: macos-latest, r: 'release'} - - {os: windows-latest, r: 'release'} - # - {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'} - # - {os: ubuntu-latest, r: 'release'} - # - {os: ubuntu-latest, r: 'oldrel-1'} - + runs-on: ubuntu-latest env: GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} R_KEEP_PKG_SOURCE: yes - + RGL_USE_NULL: true steps: - uses: actions/checkout@v4 - - uses: r-lib/actions/setup-pandoc@v2 - - uses: r-lib/actions/setup-r@v2 with: - r-version: ${{ matrix.config.r }} - http-user-agent: ${{ matrix.config.http-user-agent }} use-public-rspm: true - uses: r-lib/actions/setup-r-dependencies@v2 @@ -45,6 +28,3 @@ jobs: needs: check - uses: r-lib/actions/check-r-package@v2 - with: - upload-snapshots: true - build_args: 'c("--no-manual","--compact-vignettes=gs+qpdf")' diff --git a/.github/workflows/pkgdown.yaml b/.github/workflows/pkgdown.yaml index a7276e8..921325d 100644 --- a/.github/workflows/pkgdown.yaml +++ b/.github/workflows/pkgdown.yaml @@ -19,8 +19,6 @@ jobs: group: pkgdown-${{ github.event_name != 'pull_request' || github.run_id }} env: GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} - permissions: - contents: write steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/test-coverage.yaml b/.github/workflows/test-coverage.yaml index 21b8a93..07badcc 100644 --- a/.github/workflows/test-coverage.yaml +++ b/.github/workflows/test-coverage.yaml @@ -31,7 +31,7 @@ jobs: covr::codecov( quiet = FALSE, clean = FALSE, - install_path = file.path(normalizePath(Sys.getenv("RUNNER_TEMP"), winslash = "/"), "package") + install_path = file.path(Sys.getenv("RUNNER_TEMP"), "package") ) shell: Rscript {0} @@ -39,7 +39,7 @@ jobs: if: always() run: | ## -------------------------------------------------------------------- - find '${{ runner.temp }}/package' -name 'testthat.Rout*' -exec cat '{}' \; || true + find ${{ runner.temp }}/package -name 'testthat.Rout*' -exec cat '{}' \; || true shell: bash - name: Upload test results diff --git a/CITATION.cff b/CITATION.cff index 600ae5b..37d1b6d 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -359,6 +359,10 @@ references: given-names: Susan email: srvander@iastate.edu orcid: https://orcid.org/0000-0002-3803-0972 + - family-names: Lin + given-names: Yuhang + email: yhlin@iastate.edu + orcid: https://orcid.org/0000-0002-3600-9889 - family-names: Krishnan given-names: Ganesh email: ganeshk@iastate.edu diff --git a/README.md b/README.md index 0846c27..d214b5e 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ [![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://lifecycle.r-lib.org/articles/stages.html#experimental) -[![Last-changedate](https://img.shields.io/badge/last%20change-2024--04--30-yellowgreen.svg)](https://github.com/YuhangTom/wire/commits/main) +[![Last-changedate](https://img.shields.io/badge/last%20change-2024--05--10-yellowgreen.svg)](https://github.com/YuhangTom/wire/commits/main) [![CRAN status](https://www.r-pkg.org/badges/version/wire.png)](https://CRAN.R-project.org/package=wire) [![Codecov test