Bump actions/checkout to v4

This commit is contained in:
Mathieu Champlon 2024-09-28 12:25:38 +02:00
parent a3c9605237
commit 6b735c4c03
2 changed files with 5 additions and 5 deletions

View file

@ -26,7 +26,7 @@ jobs:
Formatting: Formatting:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Formatting - name: Formatting
uses: DoozyX/clang-format-lint-action@v0.13 uses: DoozyX/clang-format-lint-action@v0.13
with: with:
@ -74,7 +74,7 @@ jobs:
apt-get -o Acquire::Retries=$NET_RETRY_COUNT install -y g++ git cmake apt-get -o Acquire::Retries=$NET_RETRY_COUNT install -y g++ git cmake
git config --global pack.threads 0 git config --global pack.threads 0
- uses: actions/checkout@v3 - uses: actions/checkout@v4
with: with:
# For coverage builds fetch the whole history, else only 1 commit using a 'fake ternary' # For coverage builds fetch the whole history, else only 1 commit using a 'fake ternary'
fetch-depth: ${{ matrix.coverage && '0' || '1' }} fetch-depth: ${{ matrix.coverage && '0' || '1' }}
@ -86,7 +86,7 @@ jobs:
path: boost-root path: boost-root
key: boost-${{matrix.boostBranch}} key: boost-${{matrix.boostBranch}}
- name: Checkout Boost - name: Checkout Boost
uses: actions/checkout@v3 uses: actions/checkout@v4
with: with:
repository: boostorg/boost repository: boostorg/boost
ref: ${{matrix.boostBranch}} ref: ${{matrix.boostBranch}}

View file

@ -17,8 +17,8 @@ jobs:
BOOST_VERSION: 1.71.0 BOOST_VERSION: 1.71.0
BOOST_ROOT: ${{github.workspace}}/dependencies/boost BOOST_ROOT: ${{github.workspace}}/dependencies/boost
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- uses: actions/checkout@v3 - uses: actions/checkout@v4
with: with:
repository: boostorg/boost repository: boostorg/boost
ref: boost-${{env.BOOST_VERSION}} ref: boost-${{env.BOOST_VERSION}}