Skip to content

Commit

Permalink
usethis::use_tidy_github_actions()
Browse files Browse the repository at this point in the history
  • Loading branch information
gaborcsardi committed Nov 3, 2023
1 parent 3fc59e4 commit e97d81e
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
1 change: 0 additions & 1 deletion .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ jobs:
with:
extra-packages: any::rcmdcheck
needs: check
pak-version: rc

- uses: r-lib/actions/check-r-package@v2
with:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
group: pkgdown-${{ github.event_name != 'pull_request' || github.run_id }}
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
permissions:
contents: write
steps:
- uses: actions/checkout@v3

Expand All @@ -32,7 +34,6 @@ jobs:
with:
extra-packages: any::pkgdown, local::.
needs: website
pak-version: rc

- name: Build site
run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/pr-commands.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ jobs:
with:
extra-packages: any::roxygen2
needs: pr-document
pak-version: rc

- name: Document
run: roxygen2::roxygenise()
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/test-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,13 @@ jobs:
with:
extra-packages: any::covr
needs: coverage
pak-version: rc

- name: Test coverage
run: |
covr::codecov(
quiet = FALSE,
clean = FALSE,
install_path = file.path(Sys.getenv("RUNNER_TEMP"), "package")
install_path = file.path(normalizePath(Sys.getenv("RUNNER_TEMP"), winslash = "/"), "package")
)
shell: Rscript {0}

Expand Down

0 comments on commit e97d81e

Please sign in to comment.