Skip to content

Commit 57dcb5d

Browse files
committed
Use fetch tags from latest checkout action
1 parent 6781b5a commit 57dcb5d

File tree

7 files changed

+18
-9
lines changed

7 files changed

+18
-9
lines changed

.github/workflows/format.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@ jobs:
1313
if: github.repository == 'apache/incubator-pekko-http'
1414
steps:
1515
- name: Checkout current branch (full)
16-
uses: actions/checkout@v3
16+
uses: actions/checkout@v4
1717
with:
1818
fetch-depth: 0
19+
fetch-tags: 0
1920
persist-credentials: false
2021

2122
- name: Check project is formatted

.github/workflows/headers.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-20.04
1212
steps:
1313
- name: Checkout
14-
uses: actions/checkout@v3
14+
uses: actions/checkout@v4
1515

1616
- name: Setup Java 8
1717
uses: actions/setup-java@v3

.github/workflows/link-validator.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
if: github.repository == 'apache/incubator-pekko-http'
1515
steps:
1616
- name: Checkout
17-
uses: actions/checkout@v3
17+
uses: actions/checkout@v4
1818

1919
- name: Checkout GitHub merge
2020
if: github.event.pull_request

.github/workflows/nightly.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,10 @@ jobs:
1818
PEKKO_VERSION: [default, main]
1919
steps:
2020
- name: Checkout
21-
uses: actions/checkout@v3
21+
uses: actions/checkout@v4
2222
with:
2323
fetch-depth: 0
24+
fetch-tags: true
2425

2526
- name: Set up JDK ${{ matrix.JDK }}
2627
uses: actions/setup-java@v3

.github/workflows/publish-1.0-docs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,10 @@ jobs:
2727
if: github.repository == 'apache/incubator-pekko-http'
2828
steps:
2929
- name: Checkout
30-
uses: actions/checkout@v3
30+
uses: actions/checkout@v4
3131
with:
3232
fetch-depth: 0
33+
fetch-tags: true
3334
ref: 1.0.x
3435

3536
- name: Set up JDK 8

.github/workflows/publish.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@ jobs:
1212
if: github.repository == 'apache/incubator-pekko-http'
1313
steps:
1414
- name: Checkout
15-
uses: actions/checkout@v3
15+
uses: actions/checkout@v4
1616
with:
1717
fetch-depth: 0
18+
fetch-tags: true
1819

1920
- name: Set up JDK 8
2021
uses: actions/setup-java@v3
@@ -41,9 +42,10 @@ jobs:
4142
if: github.repository == 'apache/incubator-pekko-http'
4243
steps:
4344
- name: Checkout
44-
uses: actions/checkout@v3
45+
uses: actions/checkout@v4
4546
with:
4647
fetch-depth: 0
48+
fetch-tags: true
4749

4850
- name: Set up JDK 8
4951
uses: actions/setup-java@v3

.github/workflows/validate-and-test.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,10 @@ jobs:
1818
if: github.repository == 'apache/incubator-pekko-http'
1919
steps:
2020
- name: Checkout
21-
uses: actions/checkout@v3
21+
uses: actions/checkout@v4
22+
with:
23+
fetch-depth: 0
24+
fetch-tags: true
2225

2326
- name: Set up Scala on JDK 8
2427
uses: actions/setup-java@v3
@@ -60,9 +63,10 @@ jobs:
6063
JDK: [8, 11]
6164
steps:
6265
- name: Checkout
63-
uses: actions/checkout@v3
66+
uses: actions/checkout@v4
6467
with:
6568
fetch-depth: 0
69+
fetch-tags: true
6670

6771
- name: Set up JDK ${{ matrix.JDK }}
6872
uses: actions/setup-java@v3

0 commit comments

Comments
 (0)