You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pekko.apache.org by md...@apache.org on 2023/09/06 15:08:57 UTC
[incubator-pekko-persistence-jdbc] branch main updated: Use fetch tags from latest checkout action
This is an automated email from the ASF dual-hosted git repository.
mdedetrich pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-pekko-persistence-jdbc.git
The following commit(s) were added to refs/heads/main by this push:
new 8db6f69 Use fetch tags from latest checkout action
8db6f69 is described below
commit 8db6f69cf7d7f8765f57df621f4229524282ea98
Author: Matthew de Detrich <ma...@aiven.io>
AuthorDate: Wed Sep 6 11:35:53 2023 +0200
Use fetch tags from latest checkout action
---
.github/workflows/checks.yml | 9 ++++++---
.github/workflows/format.yml | 3 ++-
.github/workflows/h2-test.yml | 3 ++-
.github/workflows/headers.yml | 2 +-
.github/workflows/link-validator.yml | 11 +++--------
.github/workflows/mysql-tests.yml | 3 ++-
.github/workflows/oracle-tests.yml | 3 ++-
.github/workflows/postgres-tests.yml | 3 ++-
.github/workflows/publish-1.0-docs.yml | 3 ++-
.github/workflows/publish-nightly.yml | 3 ++-
.github/workflows/sqlserver-tests.yml | 3 ++-
11 files changed, 26 insertions(+), 20 deletions(-)
diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml
index 6494b61..c16b380 100644
--- a/.github/workflows/checks.yml
+++ b/.github/workflows/checks.yml
@@ -16,10 +16,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
@@ -45,9 +46,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
@@ -73,9 +75,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/format.yml b/.github/workflows/format.yml
index 4367041..156f7ac 100644
--- a/.github/workflows/format.yml
+++ b/.github/workflows/format.yml
@@ -13,9 +13,10 @@ jobs:
if: github.repository == 'apache/incubator-pekko-persistence-jdbc'
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/h2-test.yml b/.github/workflows/h2-test.yml
index 19f5bc9..bf2d2d4 100644
--- a/.github/workflows/h2-test.yml
+++ b/.github/workflows/h2-test.yml
@@ -24,9 +24,10 @@ jobs:
- { java-version: 11, scala-version: 2.13.11, 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/headers.yml b/.github/workflows/headers.yml
index 2559d2e..036dfb5 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/link-validator.yml b/.github/workflows/link-validator.yml
index cba1af7..3636e21 100644
--- a/.github/workflows/link-validator.yml
+++ b/.github/workflows/link-validator.yml
@@ -12,15 +12,10 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Checkout
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
with:
- # See https://github.com/actions/checkout/issues/299#issuecomment-677674415
- ref: ${{ github.event.pull_request.head.sha }}
- fetch-depth: 100
-
- # temporarily disable tag fetch (there are no tags right now and this then fails)
- # - name: Fetch tags
- # run: git fetch --depth=100 origin +refs/tags/*:refs/tags/*
+ fetch-depth: 0
+ fetch-tags: true
- name: Setup Java 11
uses: actions/setup-java@v3
diff --git a/.github/workflows/mysql-tests.yml b/.github/workflows/mysql-tests.yml
index debbd1f..87c9dc5 100644
--- a/.github/workflows/mysql-tests.yml
+++ b/.github/workflows/mysql-tests.yml
@@ -23,9 +23,10 @@ jobs:
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/oracle-tests.yml b/.github/workflows/oracle-tests.yml
index c3f9703..cf1cb0d 100644
--- a/.github/workflows/oracle-tests.yml
+++ b/.github/workflows/oracle-tests.yml
@@ -23,9 +23,10 @@ jobs:
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/postgres-tests.yml b/.github/workflows/postgres-tests.yml
index 5784dff..b351a35 100644
--- a/.github/workflows/postgres-tests.yml
+++ b/.github/workflows/postgres-tests.yml
@@ -23,9 +23,10 @@ jobs:
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-1.0-docs.yml b/.github/workflows/publish-1.0-docs.yml
index 5b24c99..3f5805a 100644
--- a/.github/workflows/publish-1.0-docs.yml
+++ b/.github/workflows/publish-1.0-docs.yml
@@ -16,10 +16,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
diff --git a/.github/workflows/publish-nightly.yml b/.github/workflows/publish-nightly.yml
index 5550853..03c43aa 100644
--- a/.github/workflows/publish-nightly.yml
+++ b/.github/workflows/publish-nightly.yml
@@ -18,10 +18,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
diff --git a/.github/workflows/sqlserver-tests.yml b/.github/workflows/sqlserver-tests.yml
index fb951a8..545efd9 100644
--- a/.github/workflows/sqlserver-tests.yml
+++ b/.github/workflows/sqlserver-tests.yml
@@ -23,9 +23,10 @@ jobs:
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
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org