Prepare brickster 0.2.14 for CRAN #409
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Workflow derived from https://github.com/r-lib/actions/tree/master/examples | |
| # Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help | |
| on: | |
| pull_request_review: | |
| types: [submitted] | |
| name: R-CMD-check | |
| permissions: | |
| contents: read | |
| jobs: | |
| R-CMD-check-pr: | |
| if: github.event.review.state == 'approved' | |
| environment: runtime | |
| runs-on: ${{ matrix.config.os }} | |
| name: Runtime PR ${{ matrix.config.os }} (${{ matrix.config.r }}) | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| config: | |
| # - {os: macOS-latest, r: 'release'} | |
| - {os: windows-2022, r: 'release'} | |
| - {os: ubuntu-24.04, r: 'devel', http-user-agent: 'release'} | |
| - {os: ubuntu-24.04, r: 'release'} | |
| - {os: ubuntu-24.04, r: 'oldrel-1'} | |
| env: | |
| R_KEEP_PKG_SOURCE: yes | |
| DATABRICKS_HOST: ${{ secrets.DATABRICKS_HOST }} | |
| DATABRICKS_TOKEN: ${{ secrets.DATABRICKS_TOKEN }} | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| repository: ${{ github.event.pull_request.head.repo.full_name }} | |
| ref: ${{ github.event.pull_request.head.sha }} | |
| - uses: r-lib/actions/setup-pandoc@d3c5be51b12e724e68f33216ca3c148b66d5f0b6 # v2.12.1 | |
| - uses: r-lib/actions/setup-r@d3c5be51b12e724e68f33216ca3c148b66d5f0b6 # v2.12.1 | |
| 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@d3c5be51b12e724e68f33216ca3c148b66d5f0b6 # v2.12.1 | |
| env: | |
| GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| extra-packages: rcmdcheck | |
| - uses: r-lib/actions/check-r-package@d3c5be51b12e724e68f33216ca3c148b66d5f0b6 # v2.12.1 | |
| env: | |
| GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | |
| R-CMD-check-pr-required: | |
| if: github.event.review.state == 'approved' | |
| needs: R-CMD-check-pr | |
| name: R-CMD-check-pr-required | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Confirm required PR checks passed | |
| run: echo "R CMD check PR matrix passed." |