aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.github/workflows/basic.yml
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-12-11 15:51:28 +0100
committerEgor Tensin <Egor.Tensin@gmail.com>2022-12-11 15:51:28 +0100
commitfe742401d43928aefc299c3e4d2f506a8388a735 (patch)
tree5b5bcc4b5a834a80cece4c0d14302e496650bff7 /.github/workflows/basic.yml
parentmake .gitattributes more consistent (diff)
downloadcmake-common-fe742401d43928aefc299c3e4d2f506a8388a735.tar.gz
cmake-common-fe742401d43928aefc299c3e4d2f506a8388a735.zip
workflows: upgrade actions
Diffstat (limited to '')
-rw-r--r--.github/workflows/basic.yml24
1 files changed, 14 insertions, 10 deletions
diff --git a/.github/workflows/basic.yml b/.github/workflows/basic.yml
index cf6b234..2b7f1f1 100644
--- a/.github/workflows/basic.yml
+++ b/.github/workflows/basic.yml
@@ -15,7 +15,7 @@ jobs:
name: Linting
steps:
- name: Checkout
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
- name: Run clang-format
run: ./tools/project-clang-format.py
@@ -33,11 +33,13 @@ jobs:
shell: pwsh
steps:
- name: Checkout
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
- name: Set up Python
- uses: actions/setup-python@v2
+ uses: actions/setup-python@v4
+ with:
+ python-version: '3.x'
- name: Cache Boost
- uses: actions/cache@v2
+ uses: actions/cache@v3
with:
path: boost_*.tar.gz
key: 'boost_${{ matrix.boost-version }}'
@@ -67,13 +69,13 @@ jobs:
shell: pwsh
steps:
- name: Checkout
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
- name: Set up Python
- uses: actions/setup-python@v2
+ uses: actions/setup-python@v4
with:
python-version: '${{ matrix.python-version }}'
- name: Cache Boost
- uses: actions/cache@v2
+ uses: actions/cache@v3
with:
path: boost_*.tar.gz
key: 'boost_${{ matrix.boost-version }}'
@@ -96,9 +98,11 @@ jobs:
name: Publish
steps:
- name: Checkout
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
- name: Set up Python
- uses: actions/setup-python@v2
+ uses: actions/setup-python@v4
+ with:
+ python-version: '3.x'
- name: Verify package can be installed
run: python3 -m pip install .
- name: Install package builder
@@ -106,7 +110,7 @@ jobs:
- name: Build package
run: python3 -m build
- name: Publish as artifact
- uses: actions/upload-artifact@v2
+ uses: actions/upload-artifact@v3
with:
name: dist
path: dist