diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 963dc75ef8..e0ff5a970a 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -50,7 +50,7 @@ jobs: - name: Install jinja run: python -m pip install jinja2 - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: configure run: cmake -S . -B build -G "Ninja" -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache ${{ matrix.flags }} @@ -82,7 +82,7 @@ jobs: - name: Install jinja run: python -m pip install jinja2 - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Run vcpkg uses: lukka/run-vcpkg@v11.1 diff --git a/.github/workflows/comment-command.yml b/.github/workflows/comment-command.yml index 77ebae9750..7dd0ad670d 100644 --- a/.github/workflows/comment-command.yml +++ b/.github/workflows/comment-command.yml @@ -19,12 +19,12 @@ jobs: comment_id: context.payload.comment.id, content: "rocket", }); - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: + fetch-depth: 0 token: ${{ secrets.COMMENT_COMMAND_PAT_TOKEN }} - name: Fetch all history and metadata run: | - git fetch --prune --unshallow git checkout -b pr git branch -f main origin/main - name: Checkout PR diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 83d74da525..b618ff8f08 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -16,7 +16,7 @@ jobs: if: github.repository_owner == 'wpilibsuite' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')) concurrency: ci-docs-publish steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 persist-credentials: false diff --git a/.github/workflows/gradle-wrapper-validation.yml b/.github/workflows/gradle-wrapper-validation.yml index d678bc4cf6..9c7b7a2f71 100644 --- a/.github/workflows/gradle-wrapper-validation.yml +++ b/.github/workflows/gradle-wrapper-validation.yml @@ -10,5 +10,5 @@ jobs: name: "Validation" runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: gradle/wrapper-validation-action@v1 diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 2334b5f028..ac05d670d0 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -37,7 +37,7 @@ jobs: large-packages: false docker-images: false swap-storage: false - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set release environment variable @@ -109,7 +109,7 @@ jobs: name: "Build - ${{ matrix.artifact-name }}" runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - uses: actions/setup-java@v3 @@ -168,7 +168,7 @@ jobs: name: "Build - Documentation" runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - uses: actions/setup-java@v3 @@ -206,7 +206,7 @@ jobs: large-packages: false docker-images: false swap-storage: false - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 if: | github.repository_owner == 'wpilibsuite' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')) diff --git a/.github/workflows/lint-format.yml b/.github/workflows/lint-format.yml index e3735c417a..fac88cf004 100644 --- a/.github/workflows/lint-format.yml +++ b/.github/workflows/lint-format.yml @@ -15,11 +15,11 @@ jobs: name: "wpiformat" runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Fetch all history and metadata run: | - git config --global --add safe.directory /__w/allwpilib/allwpilib - git fetch --prune --unshallow git checkout -b pr git branch -f main origin/main - name: Set up Python 3.8 @@ -53,11 +53,12 @@ jobs: runs-on: ubuntu-22.04 container: wpilib/roborio-cross-ubuntu:2023-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Fetch all history and metadata run: | git config --global --add safe.directory /__w/allwpilib/allwpilib - git fetch --prune --unshallow git checkout -b pr git branch -f main origin/main - name: Set up Python 3.8 @@ -79,11 +80,12 @@ jobs: runs-on: ubuntu-22.04 container: wpilib/ubuntu-base:22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Fetch all history and metadata run: | git config --global --add safe.directory /__w/allwpilib/allwpilib - git fetch --prune --unshallow git checkout -b pr git branch -f main origin/main - name: Run Java format @@ -97,7 +99,7 @@ jobs: name: "Documentation" runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - uses: actions/setup-java@v3 diff --git a/.github/workflows/sanitizers.yml b/.github/workflows/sanitizers.yml index c0b6ac3c89..faa9faddc2 100644 --- a/.github/workflows/sanitizers.yml +++ b/.github/workflows/sanitizers.yml @@ -41,7 +41,7 @@ jobs: - name: Install jinja run: python -m pip install jinja2 - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: configure run: mkdir build && cd build && cmake -G Ninja -DCMAKE_C_COMPILER_LAUNCHER=sccache -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -DCMAKE_C_COMPILER:FILEPATH=/usr/bin/clang-14 -DCMAKE_CXX_COMPILER:FILEPATH=/usr/bin/clang++-14 -DWITH_JAVA=OFF ${{ matrix.cmake-flags }} .. diff --git a/.github/workflows/upstream-utils.yml b/.github/workflows/upstream-utils.yml index 0e4a46f723..afaffd5356 100644 --- a/.github/workflows/upstream-utils.yml +++ b/.github/workflows/upstream-utils.yml @@ -15,10 +15,11 @@ jobs: name: "Update" runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Fetch all history and metadata run: | - git fetch --prune --unshallow git checkout -b pr git branch -f main origin/main - name: Set up Python 3.9