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

Update GH Actions versions #4542

Merged
Merged
Show file tree
Hide file tree
Changes from 3 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
14 changes: 8 additions & 6 deletions .github/workflows/cibuild.yml
Expand Up @@ -22,16 +22,17 @@ jobs:
os: [ ubuntu-latest, windows-latest ]
steps:
# Starting in v2.2 checkout action fetches all tags when fetch-depth=0, for auto-versioning.
- uses: actions/checkout@v2.3.2
- uses: actions/checkout@v3.1.0
with:
fetch-depth: 0
# Java setup step completes very fast, no need to run in a preconfigured docker container
- name: Set up JDK 17
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
java-version: 17
distribution: adopt
leonardehrenfried marked this conversation as resolved.
Show resolved Hide resolved
- name: Cache local Maven repository
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
Expand Down Expand Up @@ -68,15 +69,16 @@ jobs:
CONTAINER_REGISTRY_USER: otpbot
CONTAINER_REGISTRY_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
steps:
- uses: actions/checkout@v2.3.2
- uses: actions/checkout@v3.1.0
with:
fetch-depth: 0
- name: Set up JDK 17
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
java-version: 17
distribution: adopt
leonardehrenfried marked this conversation as resolved.
Show resolved Hide resolved
- name: Cache local Maven repository
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/close_stale_pr_and_issues.yml
Expand Up @@ -13,7 +13,7 @@ jobs:
if: github.repository_owner == 'opentripplanner'
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v5.0.0
- uses: actions/stale@v6.0.1
id: stale
with:
stale-issue-message: 'This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 30 days'
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/performance-test.yml
Expand Up @@ -26,22 +26,23 @@ jobs:
jfr-delay: "50s"

steps:
- uses: actions/checkout@v2.3.2
- uses: actions/checkout@v3.1.0
with:
fetch-depth: 0

- name: Set up JDK 17
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
java-version: 17
distribution: adopt
leonardehrenfried marked this conversation as resolved.
Show resolved Hide resolved

- name: Set up Maven
uses: stCarolas/setup-maven@v4.2
uses: stCarolas/setup-maven@v4.5
with:
maven-version: 3.8.2

- name: Cache local Maven repository
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/post-merge.yml
Expand Up @@ -12,7 +12,7 @@ jobs:
steps:

- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3.1.0
with:
token: ${{ secrets.CHANGELOG_TOKEN }}

Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
git config --global user.email 'serialization-version-bot@opentripplanner.org'

- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3.1.0
with:
token: ${{ secrets.CHANGELOG_TOKEN }}

Expand Down