File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727 shell : bash
2828 - name : Build Java
2929 if : steps.java-version == null || steps.java-version < 1.8
30- uses : actions/setup-java@v3
30+ uses : actions/setup-java@v5
3131 with :
32- distribution : ' zulu '
32+ distribution : temurin
3333 java-version : ' 11'
3434 - name : Download JAR
3535 run : curl -L 'https://repository.sonatype.org/service/local/artifact/maven/content?r=central-proxy&g=io.swagger.parser.v3&a=swagger-parser-cli&e=jar&v=${{ inputs.parserVersion }}' -o swagger-parser-cli.jar
Original file line number Diff line number Diff line change 1616
1717 steps :
1818 - name : Checkout repository
19- uses : actions/checkout@v3
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@v3
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@v3
40+ uses : github/codeql-action/autobuild@v4
4141
4242 # ℹ️ Command-line programs to run using the OS shell.
4343 # 📚 https://git.io/JvXDl
5151 # make release
5252
5353 - name : Perform CodeQL Analysis
54- uses : github/codeql-action/analyze@v3
54+ uses : github/codeql-action/analyze@v4
Original file line number Diff line number Diff line change 99 runs-on : ubuntu-latest
1010 steps :
1111 - name : ' Checkout Repository'
12- uses : actions/checkout@v4
12+ uses : actions/checkout@v6
1313 - name : Dependency Review
1414 uses : actions/dependency-review-action@v3
1515 with :
Original file line number Diff line number Diff line change @@ -13,17 +13,17 @@ jobs:
1313 java : [ 11, 17 ]
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 distribution : temurin
2222 server-id : central
2323 server-username : MAVEN_USERNAME
2424 server-password : MAVEN_PASSWORD
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') }}
Original file line number Diff line number Diff line change @@ -13,14 +13,14 @@ jobs:
1313 java : [ 8 ]
1414
1515 steps :
16- - uses : actions/checkout@v2
16+ - uses : actions/checkout@v6
1717 - name : Set up Java
18- uses : actions/setup-java@v2
18+ uses : actions/setup-java@v5
1919 with :
2020 java-version : ${{ matrix.java }}
21- distribution : ' zulu '
21+ distribution : temurin
2222 - name : Cache local Maven repository
23- uses : actions/cache@v4
23+ uses : actions/cache@v5
2424 with :
2525 path : ~/.m2/repository
2626 key : ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
Original file line number Diff line number Diff line change @@ -13,17 +13,17 @@ jobs:
1313 java : [ 8 ]
1414
1515 steps :
16- - uses : actions/checkout@v2
16+ - uses : actions/checkout@v6
1717 - name : Set up Java
18- uses : actions/setup-java@v2
18+ uses : actions/setup-java@v5
1919 with :
2020 java-version : ${{ matrix.java }}
21- distribution : ' zulu '
21+ distribution : temurin
2222 server-id : ossrh
2323 server-username : MAVEN_USERNAME
2424 server-password : MAVEN_PASSWORD
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') }}
Original file line number Diff line number Diff line change @@ -13,17 +13,17 @@ jobs:
1313 java : [ 11, 17 ]
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 }}
21- distribution : ' temurin'
21+ distribution : temurin
2222 server-id : central
2323 server-username : MAVEN_USERNAME
2424 server-password : MAVEN_PASSWORD
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') }}
Original file line number Diff line number Diff line change 1010 runs-on : ubuntu-latest
1111
1212 steps :
13- - uses : actions/checkout@v2
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 }}
@@ -21,15 +21,15 @@ jobs:
2121 with :
2222 python-version : ' 3.10'
2323 - name : Set up Java 8
24- uses : actions/setup-java@v2
24+ uses : actions/setup-java@v5
2525 with :
2626 java-version : 8
27- distribution : ' zulu '
27+ distribution : temurin
2828 server-id : ossrh
2929 server-username : MAVEN_USERNAME
3030 server-password : MAVEN_PASSWORD
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') }}
5858 git config --global hub.protocol https
5959 git remote set-url origin https://\${{ secrets.GITHUB_TOKEN }}:x-oauth-basic@github.com/swagger-api/swagger-parser.git
6060 - name : Checkout v1
61- uses : actions/checkout@v2
61+ uses : actions/checkout@v6
6262 with :
6363 ref : " v1"
6464 fetch-depth : 0
Original file line number Diff line number Diff line change 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 }}
@@ -21,15 +21,15 @@ jobs:
2121 with :
2222 python-version : ' 3.10'
2323 - name : Set up Java 11
24- uses : actions/setup-java@v4
24+ uses : actions/setup-java@v5
2525 with :
2626 java-version : 11
27- distribution : ' temurin'
27+ distribution : temurin
2828 server-id : central
2929 server-username : MAVEN_USERNAME
3030 server-password : MAVEN_PASSWORD
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') }}
5858 git config --global hub.protocol https
5959 git remote set-url origin https://\${{ secrets.GITHUB_TOKEN }}:x-oauth-basic@github.com/swagger-api/swagger-parser.git
6060 - name : Checkout master
61- uses : actions/checkout@v2
61+ uses : actions/checkout@v6
6262 with :
6363 ref : " master"
6464 fetch-depth : 0
Original file line number Diff line number Diff line change 1010 runs-on : ubuntu-latest
1111
1212 steps :
13- - uses : actions/checkout@v2
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 }}
@@ -21,15 +21,15 @@ jobs:
2121 with :
2222 python-version : ' 3.10'
2323 - name : Set up Java 8
24- uses : actions/setup-java@v2
24+ uses : actions/setup-java@v5
2525 with :
2626 java-version : 8
27- distribution : ' zulu '
27+ distribution : temurin
2828 server-id : ossrh
2929 server-username : MAVEN_USERNAME
3030 server-password : MAVEN_PASSWORD
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') }}
You can’t perform that action at this time.
0 commit comments