diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-12-11 15:51:28 +0100 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-12-11 15:51:28 +0100 |
commit | fe742401d43928aefc299c3e4d2f506a8388a735 (patch) | |
tree | 5b5bcc4b5a834a80cece4c0d14302e496650bff7 | |
parent | make .gitattributes more consistent (diff) | |
download | cmake-common-fe742401d43928aefc299c3e4d2f506a8388a735.tar.gz cmake-common-fe742401d43928aefc299c3e4d2f506a8388a735.zip |
workflows: upgrade actions
-rw-r--r-- | .github/workflows/basic.yml | 24 | ||||
-rw-r--r-- | .github/workflows/boost_clang_windows.yml | 10 | ||||
-rw-r--r-- | .github/workflows/boost_download.yml | 6 | ||||
-rw-r--r-- | .github/workflows/boost_toolsets.yml | 10 | ||||
-rw-r--r-- | .github/workflows/ci_appveyor.yml | 8 | ||||
-rw-r--r-- | .github/workflows/ci_github.yml | 8 | ||||
-rw-r--r-- | .github/workflows/ci_travis.yml | 8 | ||||
-rw-r--r-- | .github/workflows/cygwin_static_libstdc++.yml | 4 | ||||
-rw-r--r-- | .github/workflows/example_toolsets.yml | 8 | ||||
-rw-r--r-- | .github/workflows/msvc_versions.yml | 10 |
10 files changed, 58 insertions, 38 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 diff --git a/.github/workflows/boost_clang_windows.yml b/.github/workflows/boost_clang_windows.yml index 8d3c1b7..88289ae 100644 --- a/.github/workflows/boost_clang_windows.yml +++ b/.github/workflows/boost_clang_windows.yml @@ -31,16 +31,16 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Cache Boost - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: '${{ runner.workspace }}/boost/boost_*.tar.gz' key: 'boost_${{ matrix.boost-version }}' - name: Clean up PATH - uses: egor-tensin/cleanup-path@v2 + uses: egor-tensin/cleanup-path@v3 if: runner.os == 'Windows' - name: Set common variables @@ -49,7 +49,9 @@ jobs: toolset: '${{ matrix.toolset }}' - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 + with: + python-version: '3.x' - name: Install Clang uses: egor-tensin/setup-clang@v1 diff --git a/.github/workflows/boost_download.yml b/.github/workflows/boost_download.yml index 8aed06d..66db40f 100644 --- a/.github/workflows/boost_download.yml +++ b/.github/workflows/boost_download.yml @@ -20,9 +20,11 @@ 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: Download Boost uses: ./.github/actions/download-boost with: diff --git a/.github/workflows/boost_toolsets.yml b/.github/workflows/boost_toolsets.yml index 2a5dbf9..76131cd 100644 --- a/.github/workflows/boost_toolsets.yml +++ b/.github/workflows/boost_toolsets.yml @@ -90,16 +90,16 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Cache Boost - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: '${{ runner.workspace }}/boost/boost_*.tar.gz' key: 'boost_${{ matrix.boost-version }}' - name: Clean up PATH - uses: egor-tensin/cleanup-path@v2 + uses: egor-tensin/cleanup-path@v3 if: runner.os == 'Windows' - name: Set common variables @@ -108,7 +108,9 @@ jobs: toolset: '${{ matrix.toolset }}' - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 + with: + python-version: '3.x' - name: Install GCC uses: egor-tensin/setup-gcc@v1 diff --git a/.github/workflows/ci_appveyor.yml b/.github/workflows/ci_appveyor.yml index fd4494f..db35e99 100644 --- a/.github/workflows/ci_appveyor.yml +++ b/.github/workflows/ci_appveyor.yml @@ -32,11 +32,13 @@ jobs: BOOST_VERSION: 1.72.0 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: '${{ github.workspace }}/examples/build/boost_*.tar.gz' key: 'boost_${{ env.BOOST_VERSION }}' diff --git a/.github/workflows/ci_github.yml b/.github/workflows/ci_github.yml index ae35e4d..4a15cd6 100644 --- a/.github/workflows/ci_github.yml +++ b/.github/workflows/ci_github.yml @@ -31,11 +31,13 @@ jobs: BOOST_VERSION: 1.72.0 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: '${{ runner.workspace }}/build/boost_*.tar.gz' key: 'boost_${{ env.BOOST_VERSION }}' diff --git a/.github/workflows/ci_travis.yml b/.github/workflows/ci_travis.yml index 49ae907..36a406c 100644 --- a/.github/workflows/ci_travis.yml +++ b/.github/workflows/ci_travis.yml @@ -30,11 +30,13 @@ jobs: BOOST_VERSION: 1.72.0 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: '${{ github.workspace }}/examples/build/boost_*.tar.gz' key: 'boost_${{ env.BOOST_VERSION }}' diff --git a/.github/workflows/cygwin_static_libstdc++.yml b/.github/workflows/cygwin_static_libstdc++.yml index 31bb414..aa5631d 100644 --- a/.github/workflows/cygwin_static_libstdc++.yml +++ b/.github/workflows/cygwin_static_libstdc++.yml @@ -27,10 +27,10 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Clean up PATH - uses: egor-tensin/cleanup-path@v2 + uses: egor-tensin/cleanup-path@v3 if: runner.os == 'Windows' - name: Set common variables diff --git a/.github/workflows/example_toolsets.yml b/.github/workflows/example_toolsets.yml index dd6096f..a035bbf 100644 --- a/.github/workflows/example_toolsets.yml +++ b/.github/workflows/example_toolsets.yml @@ -72,10 +72,10 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Clean up PATH - uses: egor-tensin/cleanup-path@v2 + uses: egor-tensin/cleanup-path@v3 if: runner.os == 'Windows' - name: Set common variables @@ -84,7 +84,9 @@ jobs: toolset: '${{ matrix.toolset }}' - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 + with: + python-version: '3.x' - name: Install GCC uses: egor-tensin/setup-gcc@v1 diff --git a/.github/workflows/msvc_versions.yml b/.github/workflows/msvc_versions.yml index c1b2700..aa7f59b 100644 --- a/.github/workflows/msvc_versions.yml +++ b/.github/workflows/msvc_versions.yml @@ -52,16 +52,16 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Cache Boost - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: '${{ runner.workspace }}/boost/boost_*.tar.gz' key: 'boost_${{ matrix.boost-version }}' - name: Clean up PATH - uses: egor-tensin/cleanup-path@v2 + uses: egor-tensin/cleanup-path@v3 if: runner.os == 'Windows' - name: Set common variables @@ -70,7 +70,9 @@ jobs: toolset: '${{ matrix.toolset }}' - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 + with: + python-version: '3.x' - name: Set up software environment uses: ./.github/actions/software-environment |