Skip to content

Commit 160160c

Browse files
authored
Update gh actions (#2303)
1 parent 2e72cf8 commit 160160c

6 files changed

Lines changed: 31 additions & 31 deletions

File tree

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
steps:
1818
- name: Checkout repository
19-
uses: actions/checkout@v2
19+
uses: actions/checkout@v6
2020
with:
2121
# We must fetch at least the immediate parents so that if this is
2222
# a pull request then we can checkout the head.
@@ -29,15 +29,15 @@ jobs:
2929

3030
# Initializes the CodeQL tools for scanning.
3131
- name: Initialize CodeQL
32-
uses: github/codeql-action/init@v1
32+
uses: github/codeql-action/init@v4
3333
# Override language selection by uncommenting this and choosing your languages
3434
with:
3535
languages: java
3636

3737
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
3838
# If this step fails, then you should remove it and run the build manually (see below)
3939
- name: Autobuild
40-
uses: github/codeql-action/autobuild@v1
40+
uses: github/codeql-action/autobuild@v4
4141

4242
# ℹ️ Command-line programs to run using the OS shell.
4343
# 📚 https://git.io/JvXDl
@@ -51,4 +51,4 @@ jobs:
5151
# make release
5252

5353
- name: Perform CodeQL Analysis
54-
uses: github/codeql-action/analyze@v1
54+
uses: github/codeql-action/analyze@v4

.github/workflows/maven-v1-pulls.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,17 @@ jobs:
1212
java: [ "8" ]
1313

1414
steps:
15-
- uses: actions/checkout@v4
15+
- uses: actions/checkout@v6
1616
- name: Set up Java
17-
uses: actions/setup-java@v4
17+
uses: actions/setup-java@v5
1818
with:
1919
java-version: ${{ matrix.java }}
20-
distribution: 'temurin'
20+
distribution: temurin
2121
server-id: central
2222
server-username: MAVEN_USERNAME
2323
server-password: MAVEN_PASSWORD
2424
- name: Cache local Maven repository
25-
uses: actions/cache@v4
25+
uses: actions/cache@v5
2626
with:
2727
path: ~/.m2/repository
2828
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}

.github/workflows/maven-v1.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,17 @@ jobs:
1313
java: [ 8 ]
1414

1515
steps:
16-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@v6
1717
- name: Set up Java
18-
uses: actions/setup-java@v4
18+
uses: actions/setup-java@v5
1919
with:
2020
java-version: ${{ matrix.java }}
2121
server-id: central
2222
server-username: MAVEN_USERNAME
2323
server-password: MAVEN_PASSWORD
24-
distribution: 'temurin'
24+
distribution: temurin
2525
- name: Cache local Maven repository
26-
uses: actions/cache@v4
26+
uses: actions/cache@v5
2727
with:
2828
path: ~/.m2/repository
2929
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}

.github/workflows/next-snapshot-v1.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,26 @@ jobs:
1010
runs-on: ubuntu-latest
1111

1212
steps:
13-
- uses: actions/checkout@v4
14-
- uses: tibdex/github-app-token@v1
13+
- uses: actions/checkout@v6
14+
- uses: tibdex/github-app-token@v2
1515
id: generate-token
1616
with:
1717
app_id: ${{ secrets.APP_ID }}
1818
private_key: ${{ secrets.APP_PRIVATE_KEY }}
1919
- name: Set up Python 2.7
20-
uses: actions/setup-python@v2
20+
uses: actions/setup-python@v5
2121
with:
2222
python-version: 2.7
2323
- name: Set up Java 11
24-
uses: actions/setup-java@v4
24+
uses: actions/setup-java@v5
2525
with:
2626
java-version: 11
2727
server-id: central
2828
server-username: MAVEN_USERNAME
2929
server-password: MAVEN_PASSWORD
30-
distribution: 'temurin'
30+
distribution: temurin
3131
- name: Cache local Maven repository
32-
uses: actions/cache@v4
32+
uses: actions/cache@v5
3333
with:
3434
path: ~/.m2/repository
3535
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
@@ -59,7 +59,7 @@ jobs:
5959
git config --global hub.protocol https
6060
git remote set-url origin https://\${{ secrets.GITHUB_TOKEN }}:x-oauth-basic@github.com/swagger-api/swagger-parser.git
6161
- name: Checkout v1
62-
uses: actions/checkout@v2
62+
uses: actions/checkout@v6
6363
with:
6464
ref: "v1"
6565
fetch-depth: 0

.github/workflows/prepare-release-v1.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,26 @@ jobs:
1010
runs-on: ubuntu-latest
1111

1212
steps:
13-
- uses: actions/checkout@v4
14-
- uses: tibdex/github-app-token@v1
13+
- uses: actions/checkout@v6
14+
- uses: tibdex/github-app-token@v2
1515
id: generate-token
1616
with:
1717
app_id: ${{ secrets.APP_ID }}
1818
private_key: ${{ secrets.APP_PRIVATE_KEY }}
1919
- name: Set up Python 3.10
20-
uses: actions/setup-python@v4
20+
uses: actions/setup-python@v5
2121
with:
2222
python-version: '3.10'
2323
- name: Set up Java 8
24-
uses: actions/setup-java@v4
24+
uses: actions/setup-java@v5
2525
with:
2626
java-version: 8
2727
server-id: central
2828
server-username: MAVEN_USERNAME
2929
server-password: MAVEN_PASSWORD
30-
distribution: 'temurin'
30+
distribution: temurin
3131
- name: Cache local Maven repository
32-
uses: actions/cache@v4
32+
uses: actions/cache@v5
3333
with:
3434
path: ~/.m2/repository
3535
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}

.github/workflows/release-v1.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,27 +10,27 @@ jobs:
1010
runs-on: ubuntu-latest
1111

1212
steps:
13-
- uses: actions/checkout@v4
14-
- uses: tibdex/github-app-token@v1
13+
- uses: actions/checkout@v6
14+
- uses: tibdex/github-app-token@v2
1515
id: generate-token
1616
with:
1717
app_id: ${{ secrets.APP_ID }}
1818
private_key: ${{ secrets.APP_PRIVATE_KEY }}
1919
- name: Set up Python 3.10
20-
uses: actions/setup-python@v4
20+
uses: actions/setup-python@v5
2121
with:
2222
python-version: '3.10'
2323
- name: Set up Java 8
24-
uses: actions/setup-java@v4
24+
uses: actions/setup-java@v5
2525
with:
2626
java-version: 8
2727
server-id: central
2828
server-username: MAVEN_USERNAME
2929
server-password: MAVEN_PASSWORD
30-
distribution: 'temurin'
30+
distribution: temurin
3131
gpg-private-key: ${{ secrets.OSSRH_GPG_PRIVATE_KEY }}
3232
- name: Cache local Maven repository
33-
uses: actions/cache@v4
33+
uses: actions/cache@v5
3434
with:
3535
path: ~/.m2/repository
3636
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}

0 commit comments

Comments
 (0)