Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/tagbot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
container: rtagbot/tagbot:latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: fetch all tags and branches
run: git fetch --prune --unshallow --tags
- name: check and publish release
Expand Down
22 changes: 9 additions & 13 deletions .github/workflows/test-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@ on:
push:
branches:
- main
- master
pull_request:
branches:
- main
- master

jobs:
R-CMD-check:
Expand All @@ -20,14 +16,14 @@ jobs:
config:
- {os: windows-latest, r: 'release'}
- {os: macOS-latest, r: 'release'}
- {os: ubuntu-20.04, r: 'release', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"}
- {os: ubuntu-22.04, r: 'release'}

steps:
- uses: actions/checkout@v2
- uses: r-lib/actions/setup-r@master
- uses: actions/checkout@v4
- uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.config.r }}
- uses: r-lib/actions/setup-pandoc@master
- uses: r-lib/actions/setup-pandoc@v2

- name: Query dependencies
run: |
Expand All @@ -38,7 +34,7 @@ jobs:

- name: Cache R packages
if: runner.os != 'Windows'
uses: actions/cache@v1
uses: actions/cache@v4
with:
path: ${{ env.R_LIBS_USER }}
key: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1-${{ hashFiles('.github/depends.Rds') }}
Expand All @@ -50,7 +46,7 @@ jobs:
while read -r cmd
do
eval sudo $cmd
done < <(Rscript -e 'cat(remotes::system_requirements("ubuntu", "20.04"), sep = "\n")')
done < <(Rscript -e 'cat(remotes::system_requirements("ubuntu", "22.04"), sep = "\n")')
shell: bash

- name: Install dependencies
Expand All @@ -67,7 +63,7 @@ jobs:

- name: Upload check results
if: failure()
uses: actions/upload-artifact@main
uses: actions/upload-artifact@v4
with:
name: ${{ runner.os }}-r${{ matrix.config.r }}-results
path: check
Expand All @@ -77,7 +73,7 @@ jobs:
- name: Test coverage
# Only when master is pushed and only on mac OS
if: github.event_name == 'push' && github.ref == 'refs/heads/master' && runner.os == 'macOS'
# Use the default GITHUB_TOKEN as an enviromental version
# Use the default GITHUB_TOKEN as an environmental version
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
run: |
Expand All @@ -95,7 +91,7 @@ jobs:
- name: Install package and deploy documentation
# Only when master is pushed and only on mac OS
if: github.event_name == 'push' && github.ref == 'refs/heads/master' && runner.os == 'macOS'
# Use the default GITHUB_TOKEN as an enviromental version
# Use the default GITHUB_TOKEN as an environmental version
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
run: |
Expand Down