Skip to content

Commit

Permalink
Update check-standard.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
LHMarshall authored Nov 18, 2023
1 parent e224a07 commit 0eefde6
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/check-standard.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
# Based on https://github.com/r-lib/actions/blob/master/examples/check-standard.yaml
on:
push:
branches:
- master
branches: [main, master]
pull_request:
branches:
- master
branches: [main, master]

name: R-CMD-check

Expand All @@ -20,7 +18,7 @@ jobs:
matrix:
config:
- {os: ubuntu-latest, r: 'devel', xref: true}
- {os: ubuntu-latest, r: '4.3', xref: true, rspm: "https://packagemanager.rstudio.com/cran/__linux__/bionic/latest"}
- {os: ubuntu-latest, r: 'release', xref: true}

env:
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
Expand All @@ -37,12 +35,12 @@ jobs:
steps:
- uses: actions/checkout@v2

- uses: r-lib/actions/setup-r@main
- uses: r-lib/actions/setup-r@v1
with:
r-version: ${{ matrix.config.r }}
http-user-agent: ${{ matrix.config.http-user-agent }}

- uses: r-lib/actions/setup-pandoc@master
- uses: r-lib/actions/setup-pandoc@v1

- name: Query dependencies
run: |
Expand Down Expand Up @@ -87,7 +85,7 @@ jobs:

- name: Upload check results
if: failure()
uses: actions/upload-artifact@master
uses: actions/upload-artifact@main
with:
name: ${{ runner.os }}-r${{ matrix.config.r }}-results
path: check
Expand Down

0 comments on commit 0eefde6

Please sign in to comment.