diff --git a/.github/workflows/check-standard.yaml b/.github/workflows/check-standard.yaml index ce13d3f..45b0283 100644 --- a/.github/workflows/check-standard.yaml +++ b/.github/workflows/check-standard.yaml @@ -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 @@ -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 @@ -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: | @@ -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