diff --git a/.github/workflows/create_automerge_pr.yml b/.github/workflows/create_automerge_pr.yml index d3e7b96c..2612adce 100644 --- a/.github/workflows/create_automerge_pr.yml +++ b/.github/workflows/create_automerge_pr.yml @@ -69,7 +69,7 @@ jobs: pull-requests: write steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: fetch-depth: 0 - name: Check if there are commits to merge diff --git a/.github/workflows/performance_test.yml b/.github/workflows/performance_test.yml index 52b813cb..74beb189 100644 --- a/.github/workflows/performance_test.yml +++ b/.github/workflows/performance_test.yml @@ -35,7 +35,7 @@ jobs: - name: Install libjemalloc-dev run: apt-get update && apt-get install -y libjemalloc-dev - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: fetch-depth: 0 - name: Mark the workspace as safe diff --git a/.github/workflows/soundness.yml b/.github/workflows/soundness.yml index 134748e7..c07b05fe 100644 --- a/.github/workflows/soundness.yml +++ b/.github/workflows/soundness.yml @@ -118,7 +118,7 @@ jobs: timeout-minutes: 40 steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: # This is set to true since swift package diagnose-api-breaking-changes is # cloning the repo again and without it being set to true this job won't work for @@ -162,13 +162,13 @@ jobs: timeout-minutes: 20 steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: persist-credentials: false submodules: true - name: Checkout swiftlang/github-workflows repository if: ${{ github.repository != 'swiftlang/github-workflows' }} - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: repository: swiftlang/github-workflows path: github-workflows @@ -197,13 +197,13 @@ jobs: timeout-minutes: 20 steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: persist-credentials: false submodules: true - name: Checkout swiftlang/github-workflows repository if: ${{ github.repository != 'swiftlang/github-workflows' }} - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: repository: swiftlang/github-workflows path: github-workflows @@ -236,13 +236,13 @@ jobs: timeout-minutes: 1 steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: persist-credentials: false submodules: true - name: Checkout swiftlang/github-workflows repository if: ${{ github.repository != 'swiftlang/github-workflows' }} - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: repository: swiftlang/github-workflows path: github-workflows @@ -267,13 +267,13 @@ jobs: timeout-minutes: 1 steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: persist-credentials: false submodules: true - name: Checkout swiftlang/github-workflows repository if: ${{ github.repository != 'swiftlang/github-workflows' }} - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: repository: swiftlang/github-workflows path: github-workflows @@ -298,13 +298,13 @@ jobs: timeout-minutes: 1 steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: persist-credentials: false submodules: true - name: Checkout swiftlang/github-workflows repository if: ${{ github.repository != 'swiftlang/github-workflows' }} - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: repository: swiftlang/github-workflows path: github-workflows @@ -330,13 +330,13 @@ jobs: timeout-minutes: 20 steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: persist-credentials: false submodules: true - name: Checkout swiftlang/github-workflows repository if: ${{ github.repository != 'swiftlang/github-workflows' }} - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: repository: swiftlang/github-workflows path: github-workflows @@ -367,7 +367,7 @@ jobs: - name: Install git run: which git || (apt -q update && apt -yq install git) - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: persist-credentials: false submodules: true @@ -386,13 +386,13 @@ jobs: timeout-minutes: 5 steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: persist-credentials: false submodules: true - name: Checkout swiftlang/github-workflows repository if: ${{ github.repository != 'swiftlang/github-workflows' }} - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: repository: swiftlang/github-workflows path: github-workflows @@ -423,13 +423,13 @@ jobs: timeout-minutes: 5 steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: persist-credentials: false submodules: true - name: Checkout swiftlang/github-workflows repository if: ${{ github.repository != 'swiftlang/github-workflows' }} - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: repository: swiftlang/github-workflows path: github-workflows diff --git a/.github/workflows/swift_package_test.yml b/.github/workflows/swift_package_test.yml index e8a7905c..5d345935 100644 --- a/.github/workflows/swift_package_test.yml +++ b/.github/workflows/swift_package_test.yml @@ -285,7 +285,7 @@ jobs: - ${{ fromJson(inputs.macos_exclude_xcode_versions) }} steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Provide token if: ${{ inputs.needs_token }} run: | @@ -327,7 +327,7 @@ jobs: - ${{ fromJson(inputs.ios_host_exclude_xcode_versions || inputs.macos_exclude_xcode_versions) }} steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Provide token if: ${{ inputs.needs_token }} run: | @@ -387,20 +387,20 @@ jobs: - name: Clang version run: clang --version - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v7 if: ${{ matrix.os_version != 'amazonlinux2' }} - name: Checkout repository - uses: actions/checkout@v1 + uses: actions/checkout@v7 if: ${{ matrix.os_version == 'amazonlinux2' }} - name: Checkout swiftlang/github-workflows repository if: ${{ matrix.os_version != 'amazonlinux2' && github.repository != 'swiftlang/github-workflows' }} - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: repository: swiftlang/github-workflows path: github-workflows - name: Checkout swiftlang/github-workflows repository if: ${{ matrix.os_version == 'amazonlinux2' && github.repository != 'swiftlang/github-workflows' }} - uses: actions/checkout@v1 + uses: actions/checkout@v7 with: repository: swiftlang/github-workflows path: ${{ github.event.repository.name }}/github-workflows @@ -471,20 +471,20 @@ jobs: - name: Clang version run: clang --version - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v7 if: ${{ matrix.os_version != 'amazonlinux2' }} - name: Checkout repository - uses: actions/checkout@v1 + uses: actions/checkout@v7 if: ${{ matrix.os_version == 'amazonlinux2' }} - name: Checkout swiftlang/github-workflows repository if: ${{ matrix.os_version != 'amazonlinux2' && github.repository != 'swiftlang/github-workflows' }} - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: repository: swiftlang/github-workflows path: github-workflows - name: Checkout swiftlang/github-workflows repository if: ${{ matrix.os_version == 'amazonlinux2' && github.repository != 'swiftlang/github-workflows' }} - uses: actions/checkout@v1 + uses: actions/checkout@v7 with: repository: swiftlang/github-workflows path: ${{ github.event.repository.name }}/github-workflows @@ -540,20 +540,20 @@ jobs: - name: Clang version run: clang --version - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v7 if: ${{ matrix.os_version != 'amazonlinux2' }} - name: Checkout repository - uses: actions/checkout@v1 + uses: actions/checkout@v7 if: ${{ matrix.os_version == 'amazonlinux2' }} - name: Checkout swiftlang/github-workflows repository if: ${{ matrix.os_version != 'amazonlinux2' && github.repository != 'swiftlang/github-workflows' }} - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: repository: swiftlang/github-workflows path: github-workflows - name: Checkout swiftlang/github-workflows repository if: ${{ matrix.os_version == 'amazonlinux2' && github.repository != 'swiftlang/github-workflows' }} - uses: actions/checkout@v1 + uses: actions/checkout@v7 with: repository: swiftlang/github-workflows path: ${{ github.event.repository.name }}/github-workflows @@ -609,20 +609,20 @@ jobs: - name: Clang version run: clang --version - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v7 if: ${{ matrix.os_version != 'amazonlinux2' }} - name: Checkout repository - uses: actions/checkout@v1 + uses: actions/checkout@v7 if: ${{ matrix.os_version == 'amazonlinux2' }} - name: Checkout swiftlang/github-workflows repository if: ${{ matrix.os_version != 'amazonlinux2' && github.repository != 'swiftlang/github-workflows' }} - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: repository: swiftlang/github-workflows path: github-workflows - name: Checkout swiftlang/github-workflows repository if: ${{ matrix.os_version == 'amazonlinux2' && github.repository != 'swiftlang/github-workflows' }} - uses: actions/checkout@v1 + uses: actions/checkout@v7 with: repository: swiftlang/github-workflows path: ${{ github.event.repository.name }}/github-workflows @@ -679,9 +679,9 @@ jobs: sudo rm /usr/local/lib/libsourcekitdInProc.so sudo rm -r /usr/share/swift - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Checkout swiftlang/github-workflows repository - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: repository: swiftlang/github-workflows path: github-workflows @@ -750,10 +750,10 @@ jobs: - ${{ fromJson(inputs.windows_exclude_swift_versions) }} steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v7 - name: Checkout swiftlang/github-workflows repository if: ${{ github.repository != 'swiftlang/github-workflows' }} - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: repository: swiftlang/github-workflows path: github-workflows @@ -924,10 +924,10 @@ jobs: runner: ubuntu-24.04 steps: - name: Checkout repository - uses: actions/checkout@v6 + uses: actions/checkout@v7 - name: Checkout swiftlang/github-workflows repository if: ${{ github.repository != 'swiftlang/github-workflows' }} - uses: actions/checkout@v6 + uses: actions/checkout@v7 with: repository: swiftlang/github-workflows path: github-workflows