diff --git a/.github/workflows/r-check-version.yaml b/.github/workflows/r-check-version.yaml new file mode 100644 index 0000000..b514ba9 --- /dev/null +++ b/.github/workflows/r-check-version.yaml @@ -0,0 +1,25 @@ +on: + pull_request: + branches: [main, master] + +name: version checks + +jobs: + lint: + 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: + extra-packages: any::gh, local::fuj + + - uses: jmbarbone/actions/r-check-version@main + with: + ignore-dev-version: true