diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml deleted file mode 100644 index f4c4ef2d..00000000 --- a/.github/workflows/lint.yaml +++ /dev/null @@ -1,32 +0,0 @@ -# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples -# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help -on: - push: - branches: [main, master] - pull_request: - branches: [main, master] - -name: lint - -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::lintr, local::. - needs: lint - - - name: Lint - run: lintr::lint_package() - shell: Rscript {0} - env: - LINTR_ERROR_ON_LINT: true diff --git a/.github/workflows/rchk.yaml b/.github/workflows/rchk.yaml deleted file mode 100644 index d9e196ae..00000000 --- a/.github/workflows/rchk.yaml +++ /dev/null @@ -1,31 +0,0 @@ -name: Setup and run rchk test -description: Setup and run rchk test -inputs: - setup-only: - description: Setup rchk only and skip running the test. - required: false - default: false - run-only: - description: Skip the setup step and run the test directly assuming that setup was run. - required: false - default: false - cache-version: - description: The version of the cache, change this from the default (rchk-1) to start over with a fresh cache - required: false - default: rchk-1 -runs: - using: 'composite' - steps: - - if: inputs.run-only != 'true' - name: Setup rchk - run: bash $GITHUB_ACTION_PATH/setup.sh - shell: bash - - if: inputs.setup-only != 'true' && inputs.run-only != 'true' - uses: r-lib/actions/setup-r-dependencies@v2 - with: - cache-version: ${{ inputs.cache-version }} - - if: inputs.setup-only != 'true' - name: Run rchk - run: | - bash $GITHUB_ACTION_PATH/run.sh - shell: bash