diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 52537d5d..23dfc0a1 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -13,10 +13,11 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: # we don't know what commit the last tag was it's safer to get entire repo so previousStableVersion resolves fetch-depth: 0 + fetch-tags: true - name: Checkout GitHub merge if: github.event.pull_request @@ -41,9 +42,10 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 + fetch-tags: true - name: Checkout GitHub merge if: github.event.pull_request @@ -68,9 +70,10 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 + fetch-tags: true - name: Checkout GitHub merge if: github.event.pull_request diff --git a/.github/workflows/dependency-graph.yml b/.github/workflows/dependency-graph.yml index db86104a..5eedc60c 100644 --- a/.github/workflows/dependency-graph.yml +++ b/.github/workflows/dependency-graph.yml @@ -9,5 +9,5 @@ jobs: runs-on: ubuntu-latest if: github.repository == 'apache/incubator-pekko-projection' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: scalacenter/sbt-dependency-submission@v2 diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index b6a8b718..76bdebe2 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -13,9 +13,10 @@ jobs: if: github.repository == 'apache/incubator-pekko-projection' steps: - name: Checkout current branch (full) - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 + fetch-tags: true persist-credentials: false - name: Check project is formatted diff --git a/.github/workflows/headers.yml b/.github/workflows/headers.yml index 2559d2e9..036dfb5a 100644 --- a/.github/workflows/headers.yml +++ b/.github/workflows/headers.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Java 11 uses: actions/setup-java@v3 diff --git a/.github/workflows/integration-tests-cassandra.yml b/.github/workflows/integration-tests-cassandra.yml index 8f6052ae..5d0effed 100644 --- a/.github/workflows/integration-tests-cassandra.yml +++ b/.github/workflows/integration-tests-cassandra.yml @@ -21,9 +21,10 @@ jobs: - { java-version: 11, scala-version: 2.12.18, sbt-opts: '-J-XX:+UnlockExperimentalVMOptions -J-XX:+UseJVMCICompiler' } steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 + fetch-tags: true - name: Checkout GitHub merge if: github.event.pull_request diff --git a/.github/workflows/integration-tests-jdbc.yml b/.github/workflows/integration-tests-jdbc.yml index 6a9ae1fb..c4a03a26 100644 --- a/.github/workflows/integration-tests-jdbc.yml +++ b/.github/workflows/integration-tests-jdbc.yml @@ -21,9 +21,10 @@ jobs: - { java-version: 11, scala-version: 2.12.18, sbt-opts: '-J-XX:+UnlockExperimentalVMOptions -J-XX:+UseJVMCICompiler' } steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 + fetch-tags: true - name: Checkout GitHub merge if: github.event.pull_request diff --git a/.github/workflows/integration-tests-kafka.yml b/.github/workflows/integration-tests-kafka.yml index ab314d6a..cdd4cf02 100644 --- a/.github/workflows/integration-tests-kafka.yml +++ b/.github/workflows/integration-tests-kafka.yml @@ -21,9 +21,10 @@ jobs: - { java-version: 11, scala-version: 2.12.18, sbt-opts: '-J-XX:+UnlockExperimentalVMOptions -J-XX:+UseJVMCICompiler' } steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 + fetch-tags: true - name: Checkout GitHub merge if: github.event.pull_request diff --git a/.github/workflows/integration-tests-slick.yml b/.github/workflows/integration-tests-slick.yml index f9c311da..053d1974 100644 --- a/.github/workflows/integration-tests-slick.yml +++ b/.github/workflows/integration-tests-slick.yml @@ -21,9 +21,10 @@ jobs: - { java-version: 11, scala-version: 2.12.18, sbt-opts: '-J-XX:+UnlockExperimentalVMOptions -J-XX:+UseJVMCICompiler' } steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 + fetch-tags: true - name: Checkout GitHub merge if: github.event.pull_request diff --git a/.github/workflows/publish-nightly.yml b/.github/workflows/publish-nightly.yml index e51df95d..baddc7a2 100644 --- a/.github/workflows/publish-nightly.yml +++ b/.github/workflows/publish-nightly.yml @@ -15,10 +15,11 @@ jobs: JAVA_OPTS: -Xms2G -Xmx2G -Xss2M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: # we don't know what commit the last tag was it's safer to get entire repo so previousStableVersion resolves fetch-depth: 0 + fetch-tags: true - name: Setup Java 8 uses: actions/setup-java@v3 @@ -38,9 +39,10 @@ jobs: if: github.repository == 'apache/incubator-pekko-projection' steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 + fetch-tags: true - name: Set up JDK 8 uses: actions/setup-java@v3 diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 7343ae6e..7075bd80 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -23,9 +23,10 @@ jobs: - { java-version: 11, scala-version: 3.3.0, sbt-opts: '-J-XX:+UnlockExperimentalVMOptions -J-XX:+UseJVMCICompiler' } steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 + fetch-tags: true - name: Checkout GitHub merge if: github.event.pull_request