Skip to content

Commit

Permalink
Merge pull request #2786 from covid19-forecast-hub-europe/actions-ver…
Browse files Browse the repository at this point in the history
…sions

update actions versions
  • Loading branch information
kathsherratt authored Feb 6, 2023
2 parents c5c0091 + b626949 commit bc81df7
Show file tree
Hide file tree
Showing 15 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/JHU.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
if: github.repository_owner == 'covid19-forecast-hub-europe'
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ValidationV2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
repository: 'epiforecasts/covid19-forecast-hub-europe-validations'

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/Validations-R.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
GITHUB_PAT: ${{ secrets.GITHUB_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:
install-r: false
use-public-rspm: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-truth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
RSPM: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- uses: r-lib/actions/setup-r@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create-parquet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- uses: r-lib/actions/setup-r@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ensemble.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- uses: r-lib/actions/setup-r@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/hospitalisations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- uses: r-lib/actions/setup-r@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
if: github.repository_owner == 'covid19-forecast-hub-europe'
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- run: |
echo "TODAY=$(date +%Y.%m.%d)" >> $GITHUB_ENV
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/render-readme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

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

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/reports-country.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:
if: github.repository_owner == 'covid19-forecast-hub-europe'
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- uses: r-lib/actions/setup-r@v1
- uses: r-lib/actions/setup-r@v2
with:
install-r: false
use-public-rspm: true
Expand All @@ -36,15 +36,15 @@ jobs:
- name: Create country reports
run: Rscript 'code/reports/compile-country-reports.r'

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
if: github.event_name != 'pull_request'
with:
name: country-reports
retention-days: 8
path: |
html/
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
# If we are in a PR, we want to access the artifacts but we don't want
# them to be used to build the site
if: github.event_name == 'pull_request'
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/reports-model.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:
if: github.repository_owner == 'covid19-forecast-hub-europe'
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- uses: r-lib/actions/setup-r@v1
- uses: r-lib/actions/setup-r@v2
with:
install-r: false
use-public-rspm: true
Expand All @@ -36,15 +36,15 @@ jobs:
- name: Create model reports
run: Rscript 'code/reports/compile-model-reports.r'

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
if: github.event_name != 'pull_request'
with:
name: model-reports
retention-days: 8
path: |
html/
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
# If we are in a PR, we want to access the artifacts but we don't want
# them to be used to build the site
if: github.event_name == 'pull_request'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scoring.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- uses: r-lib/actions/setup-r@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/submission_preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: r-lib/actions/setup-r@v1
- uses: r-lib/actions/setup-r@v2
with:
install-r: false
use-public-rspm: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/visualisation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}

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

- name: Setup Python
uses: actions/setup-python@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/zoltar-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: recursive # zoltar upload relies on validations submodule

Expand Down

0 comments on commit bc81df7

Please sign in to comment.