diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a3705a62..5ce767a2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,12 +29,12 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Checkout current branch (full) - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Docker Compose Action - uses: isbang/compose-action@v1.0.0 + uses: hoverkraft-tech/compose-action@v2.0.1 env: CLICKHOUSE_VERSION: ${{ matrix.clickhouse }} with: @@ -43,13 +43,13 @@ jobs: - name: Setup Java (temurin@17) if: matrix.java == 'temurin@17' - uses: actions/setup-java@v2 + uses: actions/setup-java@v4 with: - distribution: temurin + distribution: 'temurin' java-version: 17 - name: Cache sbt - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: | ~/.sbt @@ -70,9 +70,9 @@ jobs: run: tar cf targets.tar target client/target dsl/target testkit/target project/target - name: Upload target directories - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: - name: target-${{ matrix.os }}-${{ matrix.scala }}-${{ matrix.java }} + name: target-${{ matrix.os }}-${{ matrix.scala }}-${{ matrix.java }}-${{matrix.clickhouse}} path: targets.tar publish: @@ -87,19 +87,19 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Checkout current branch (full) - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Setup Java (temurin@17) if: matrix.java == 'temurin@17' - uses: actions/setup-java@v2 + uses: actions/setup-java@v4 with: distribution: temurin java-version: 17 - name: Cache sbt - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: | ~/.sbt @@ -111,7 +111,7 @@ jobs: key: ${{ runner.os }}-sbt-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('project/build.properties') }} - name: Download target directories (3.3.1) - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: target-${{ matrix.os }}-3.3.1-${{ matrix.java }} @@ -121,7 +121,7 @@ jobs: rm targets.tar - name: Download target directories (2.13.13) - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4 with: name: target-${{ matrix.os }}-2.13.13-${{ matrix.java }}