Refert only to major versions of ci workflow helpers
Change-Id: I75044009cbb82a788d8038825235622f8c890c8d
diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml
index 59b42cb..85bc282 100644
--- a/.github/workflows/pythonpackage.yml
+++ b/.github/workflows/pythonpackage.yml
@@ -14,13 +14,13 @@
r-version: [release]
os: [windows-latest, macOS-latest, ubuntu-latest]
steps:
- - uses: actions/checkout@v3.0.2
+ - uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
- uses: actions/setup-python@v4.2.0
+ uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Cache pip
- uses: actions/cache@v3.0.8
+ uses: actions/cache@v3
with:
# This path is specific to Ubuntu
path: ~/.cache/pip
@@ -30,7 +30,7 @@
${{ runner.os }}-pip-
${{ runner.os }}-
- name: Set up R ${{ matrix.r-version }}
- uses: r-lib/actions/setup-r@master
+ uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.r-version }}
if: runner.os != 'Linux'
@@ -44,13 +44,13 @@
- name: Install R dependencies
run: Rscript -e "install.packages('RKorAPClient')"
- name: Cache R packages on Linux
- uses: actions/cache@v3.0.8
+ uses: actions/cache@v3
with:
path: /usr/local/lib/R/site-library
key: ${{ runner.os }}-r-${{ matrix.config.r-version }}-${{ hashFiles('DESCRIPTION') }}
if: runner.os == 'Linux'
- name: Cache R packages
- uses: actions/cache@v3.0.8
+ uses: actions/cache@v3
with:
path: ${{ env.R_LIBS_USER }}
key: ${{ runner.os }}-r-${{ matrix.config.r-version }}-${{ hashFiles('DESCRIPTION') }}
@@ -92,7 +92,7 @@
TARGET_FOLDER: doc
- name: Upload check results
if: failure()
- uses: actions/upload-artifact@master
+ uses: actions/upload-artifact@v3
with:
name: pytest-results-${{ matrix.python-version }}
path: junit/test-results-${{ matrix.python-version }}.xml