Skip to content

Commit

Permalink
Oppdater github actions-versjoner (#44)
Browse files Browse the repository at this point in the history
De som ble brukt var utdatert, slik at tester med macOS ikke fungerte lenger. setup-r/v1 prøvde å laste ned R 4.3.1, som ikke lenger var tilgjengelig for macOS.
  • Loading branch information
arnfinn authored Aug 8, 2023
1 parent 6062379 commit 7a7c926
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ jobs:
GITHUB_PAT: ${{ secrets.GH_TOKEN }}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- uses: r-lib/actions/setup-r@v1
- uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.config.r }}

- uses: r-lib/actions/setup-pandoc@v1
- uses: r-lib/actions/setup-pandoc@v2

- uses: r-lib/actions/setup-tinytex@v1
- uses: r-lib/actions/setup-tinytex@v2

- name: Db unit tests in ubuntu/linux only
if: runner.os != 'Windows'
Expand Down Expand Up @@ -96,7 +96,7 @@ jobs:

- name: Upload check results
if: failure()
uses: actions/upload-artifact@main
uses: actions/upload-artifact@v3
with:
name: ${{ runner.os }}-r${{ matrix.config.r }}-results
path: check
4 changes: 2 additions & 2 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
env:
GITHUB_PAT: ${{ secrets.GH_TOKEN }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- uses: r-lib/actions/setup-r@v1
- uses: r-lib/actions/setup-r@v2

- name: Query dependencies
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ jobs:
env:
GITHUB_PAT: ${{ secrets.GH_TOKEN }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- uses: r-lib/actions/setup-r@v1
- uses: r-lib/actions/setup-r@v2

- uses: r-lib/actions/setup-pandoc@v1
- uses: r-lib/actions/setup-pandoc@v2

- name: Query dependencies
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ jobs:
DB_USER: "root"
DB_PASS: "root"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- uses: r-lib/actions/setup-r@v1
- uses: r-lib/actions/setup-r@v2

- uses: r-lib/actions/setup-pandoc@v1
- uses: r-lib/actions/setup-pandoc@v2

- name: Set up MySQL, ubuntu only
run: |
Expand Down

2 comments on commit 7a7c926

@statkarl
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kan vera ein idé å slå på Dependabot, @arnfinn. Då får ein automatisk PR-ar når det kjem nye versjonar. Det brukar me for rapwhale-depotet: https://github.com/Rapporteket/rapwhale/blob/main/.github/dependabot.yml

Slik ser ein PR frå Dependabot ut i praksis: Rapporteket/rapwhale#33

@arnfinn
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kan vera ein idé å slå på Dependabot

@statkarl Ja, det hadde nok vært fornuftig. Det er aktivert på ´rapbase´ blant annet. Jeg har også aktivert Renovate på enkelte prosjekt, som er en tilsvarende bot, slik som her: https://github.com/Rapporteket/docker

Please sign in to comment.