Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use fetch tags from latest checkout action #246

Merged
merged 1 commit into from
Sep 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
30 changes: 12 additions & 18 deletions .github/workflows/check-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,10 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
# temporarily do full checkout
# with: # https://github.com/olafurpg/setup-scala#faster-checkout-of-big-repos
# fetch-depth: 100

#- name: Fetch tags
# run: git fetch --depth=100 origin +refs/tags/*:refs/tags/*
uses: actions/checkout@v4
with:
fetch-tags: true
fetch-depth: 0

- name: Setup Java 8
uses: actions/setup-java@v3
Expand All @@ -52,13 +49,10 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
# temporarily do full checkout
# with: # https://github.com/olafurpg/setup-scala#faster-checkout-of-big-repos
# fetch-depth: 100

#- name: Fetch tags
# run: git fetch --depth=100 origin +refs/tags/*:refs/tags/*
uses: actions/checkout@v4
with:
fetch-tags: true
fetch-depth: 0

- name: Setup Java 11
uses: actions/setup-java@v3
Expand Down Expand Up @@ -137,10 +131,10 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
# temporarily do full checkout
# with: # gh-detect-changes.sh compares with the target branch
# fetch-depth: 0
uses: actions/checkout@v4
with:
fetch-tags: true
fetch-depth: 0

- name: Setup Java 8
uses: actions/setup-java@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dependency-graph.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ jobs:
name: Update Dependency Graph
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: scalacenter/sbt-dependency-submission@v2
2 changes: 1 addition & 1 deletion .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout current branch (full)
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/headers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-tags: true
fetch-depth: 0

- name: Setup Java 8
uses: actions/setup-java@v3
Expand Down
31 changes: 0 additions & 31 deletions .github/workflows/license-and-vulnerabilities.yml
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have deleted this file because its leftover from Alpakka and we are handling security/license vulnerabilities in another way

This file was deleted.

10 changes: 4 additions & 6 deletions .github/workflows/link-validator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,10 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
with: # https://github.com/olafurpg/setup-scala#faster-checkout-of-big-repos
fetch-depth: 100

- name: Fetch tags
run: git fetch --depth=100 origin +refs/tags/*:refs/tags/*
uses: actions/checkout@v4
with:
fetch-tags: true
fetch-depth: 0

- name: Setup Java 11
uses: actions/setup-java@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-1.0-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ 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-tags: true
fetch-depth: 0

- name: Setup Java 8
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ 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-tags: true
fetch-depth: 0

- name: Setup Java 8
Expand Down