Skip to content

Commit

Permalink
Merge pull request #54 from ScotGovAnalysis/actions
Browse files Browse the repository at this point in the history
Update GitHub Actions
  • Loading branch information
alice-hannah authored Dec 20, 2024
2 parents 7e9a098 + 33bbfff commit 515cfa1
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: R-CMD-check

on:
push:
branches: [main, master]
branches: main
pull_request:
branches: [main, master]
branches: main

jobs:
R-CMD-check:
Expand All @@ -16,8 +16,11 @@ jobs:
fail-fast: false
matrix:
config:
- {os: macos-latest, r: 'release'}
- {os: windows-latest, r: 'release'}

- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
- {os: ubuntu-latest, r: 'release'}
- {os: ubuntu-latest, r: 'oldrel-1'}
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_KEEP_PKG_SOURCE: yes
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: lint

on:
push:
branches: [main, master]
branches: main
pull_request:
branches: [main, master]
branches: main

jobs:
lint:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: [main, master]
branches: main
pull_request:
branches: [main, master]
branches: main
release:
types: [published]
workflow_dispatch:
Expand Down

0 comments on commit 515cfa1

Please sign in to comment.