Skip to content

Commit

Permalink
Use fetch tags from latest checkout action
Browse files Browse the repository at this point in the history
  • Loading branch information
mdedetrich committed Sep 5, 2023
1 parent 6781b5a commit 57dcb5d
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 9 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ jobs:
if: github.repository == 'apache/incubator-pekko-http'
steps:
- name: Checkout current branch (full)
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: 0
persist-credentials: false

- name: Check project is formatted
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/headers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Java 8
uses: actions/setup-java@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/link-validator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
if: github.repository == 'apache/incubator-pekko-http'
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Checkout GitHub merge
if: github.event.pull_request
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@ jobs:
PEKKO_VERSION: [default, main]
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true

- name: Set up JDK ${{ matrix.JDK }}
uses: actions/setup-java@v3
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/publish-1.0-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@ jobs:
if: github.repository == 'apache/incubator-pekko-http'
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true
ref: 1.0.x

- name: Set up JDK 8
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ jobs:
if: github.repository == 'apache/incubator-pekko-http'
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
Expand All @@ -41,9 +42,10 @@ jobs:
if: github.repository == 'apache/incubator-pekko-http'
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
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/validate-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ jobs:
if: github.repository == 'apache/incubator-pekko-http'
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true

- name: Set up Scala on JDK 8
uses: actions/setup-java@v3
Expand Down Expand Up @@ -60,9 +63,10 @@ jobs:
JDK: [8, 11]
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true

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

0 comments on commit 57dcb5d

Please sign in to comment.