diff --git a/.github/workflows/r-check-version.yaml b/.github/workflows/r-check-version.yaml new file mode 100644 index 0000000..a7953e7 --- /dev/null +++ b/.github/workflows/r-check-version.yaml @@ -0,0 +1,28 @@ +on: + pull_request: + branches: [main, master] +paths-ignore: + - '.github/**' + +name: version checks + +jobs: + check-r-version: + runs-on: ubuntu-latest +env: + GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} +steps: + - uses: actions/checkout@v3 + +- uses: r-lib/actions/setup-r@v2 +with: + use-public-rspm: true + +- uses: r-lib/actions/setup-r-dependencies@v2 +with: + packages: any::gh, any::fuj +install-pandoc: false + +- uses: jmbarbone/actions/r-check-version@main +with: + ignore-dev-version: true