mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-03 04:14:27 +02:00
ci: GitHub actions updated to not use deprecated versions
This commit is contained in:
6
.github/workflows/ci-conan.yml
vendored
6
.github/workflows/ci-conan.yml
vendored
@@ -140,7 +140,7 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
- run: echo "cache_id=$(/bin/date -u "+%Y%m%d")" >> $GITHUB_ENV
|
||||
- name: Cache Conan data
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
if: always()
|
||||
env:
|
||||
cache-name: cache-conan-data
|
||||
@@ -185,7 +185,7 @@ jobs:
|
||||
run: |
|
||||
sudo xcode-select -s /Applications/Xcode_${{ matrix.config.compiler.version }}.app && /usr/bin/xcodebuild -version
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v4
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.8"
|
||||
- name: Install Ninja
|
||||
@@ -243,7 +243,7 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v4
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.8"
|
||||
- name: Install Conan
|
||||
|
2
.github/workflows/ci-formatting.yml
vendored
2
.github/workflows/ci-formatting.yml
vendored
@@ -30,7 +30,7 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Set up Python 3.8
|
||||
uses: actions/setup-python@v4
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: 3.8
|
||||
- name: Install dependencies
|
||||
|
4
.github/workflows/ci-test-package-cmake.yml
vendored
4
.github/workflows/ci-test-package-cmake.yml
vendored
@@ -139,7 +139,7 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
- run: echo "cache_id=$(/bin/date -u "+%Y%m%d")" >> $GITHUB_ENV
|
||||
- name: Cache Conan data
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
if: always()
|
||||
env:
|
||||
cache-name: cache-conan-data
|
||||
@@ -179,7 +179,7 @@ jobs:
|
||||
run: |
|
||||
sudo xcode-select -s /Applications/Xcode_${{ matrix.config.compiler.version }}.app && /usr/bin/xcodebuild -version
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v4
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.8"
|
||||
- name: Install Ninja
|
||||
|
4
.github/workflows/codeql.yml
vendored
4
.github/workflows/codeql.yml
vendored
@@ -82,7 +82,7 @@ jobs:
|
||||
- run: echo "cache_id=$(/bin/date -u "+%Y%m%d")" >> $GITHUB_ENV
|
||||
- name: Cache Conan data
|
||||
if: matrix.language == 'cpp'
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
env:
|
||||
cache-name: cache-conan-data
|
||||
with:
|
||||
@@ -95,7 +95,7 @@ jobs:
|
||||
build-${{ matrix.os }}-
|
||||
- name: Set up Python
|
||||
if: matrix.language == 'cpp'
|
||||
uses: actions/setup-python@v4
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.8"
|
||||
- name: Conan build
|
||||
|
4
.github/workflows/documentation.yml
vendored
4
.github/workflows/documentation.yml
vendored
@@ -36,11 +36,11 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: actions/setup-python@v4
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: 3.x
|
||||
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
|
||||
- uses: actions/cache@v3
|
||||
- uses: actions/cache@v4
|
||||
with:
|
||||
key: mkdocs-material-${{ env.cache_id }}
|
||||
path: .cache
|
||||
|
Reference in New Issue
Block a user