diff --git a/.github/workflows/check-formatting.yml b/.github/workflows/check-formatting.yml index 10eaf52..5b76223 100644 --- a/.github/workflows/check-formatting.yml +++ b/.github/workflows/check-formatting.yml @@ -14,12 +14,12 @@ jobs: name: Check formatting steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Setup Go environment - uses: actions/setup-go@v2 + uses: actions/setup-go@v4 with: - go-version: '^1.22' + go-version: '^1.23' - name: Install formatters run: | diff --git a/.github/workflows/run-tests-externally.yml b/.github/workflows/run-tests-externally.yml index ce8b90b..2eb4f82 100644 --- a/.github/workflows/run-tests-externally.yml +++ b/.github/workflows/run-tests-externally.yml @@ -54,7 +54,7 @@ jobs: BAZELISK_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up JDK uses: actions/setup-java@v4 @@ -63,7 +63,7 @@ jobs: java-version: ${{ matrix.jdk }} - name: Mount Bazel disk cache - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ${{ matrix.cache }} key: bazel-disk-cache-${{ matrix.bazel }}-${{ matrix.os }}-${{ matrix.jdk }} @@ -88,13 +88,3 @@ jobs: sudo apt install clang-14 llvm-14 bazelisk coverage --config=ci --disk_cache=${{ matrix.cache }} --profile=${{ github.workspace }}/profile.gz ${{ matrix.bazel_extra_args }} //... ./verify_coverage.sh - - - name: Upload test logs - if: always() - uses: actions/upload-artifact@v2 - with: - name: testlogs-${{ matrix.bazel}}-${{ matrix.os }}-${{ matrix.jdk }} - # https://github.com/actions/upload-artifact/issues/92#issuecomment-711107236 - path: | - ${{ github.workspace }}/tests/bazel-testlogs*/**/test.log - ${{ github.workspace }}/profile.gz diff --git a/.github/workflows/run-tests-internally.yml b/.github/workflows/run-tests-internally.yml index 71072e8..4e94d96 100644 --- a/.github/workflows/run-tests-internally.yml +++ b/.github/workflows/run-tests-internally.yml @@ -19,7 +19,7 @@ jobs: name: Build and test internally (ubuntu-latest, Bazel last_green module, JDK 21) steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up JDK uses: actions/setup-java@v4 @@ -28,7 +28,7 @@ jobs: java-version: 21 - name: Mount Bazel disk cache - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: "/home/runner/.cache/bazel-disk" key: bazel-disk-cache-internal @@ -42,12 +42,3 @@ jobs: env: USE_BAZEL_VERSION: "last_green" run: bazelisk test --disk_cache="/home/runner/.cache/bazel-disk" //... - - - name: Upload test logs - if: always() - uses: actions/upload-artifact@v2 - with: - name: testlogs-internal - # https://github.com/actions/upload-artifact/issues/92#issuecomment-711107236 - path: | - ${{ github.workspace }}/bazel-testlogs*/**/test.log