diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 324f30b..10627a1 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -40,11 +40,11 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v2 + uses: github/codeql-action/init@v3 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -55,7 +55,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) #- name: Autobuild - # uses: github/codeql-action/autobuild@v1 + # uses: github/codeql-action/autobuild@v3 # â„šī¸ Command-line programs to run using the OS shell. # 📚 https://git.io/JvXDl @@ -68,13 +68,14 @@ jobs: # make bootstrap # make release - name: Set up JDK 11 - uses: actions/setup-java@v1 + uses: actions/setup-java@v4 with: + distribution: 'temurin' java-version: 11 - name: Build with Gradle run: ./gradlew build - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@v3 diff --git a/.github/workflows/create_release.yml b/.github/workflows/create_release.yml index 1803f4e..b8ae30f 100644 --- a/.github/workflows/create_release.yml +++ b/.github/workflows/create_release.yml @@ -13,12 +13,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Set up JDK 11 - uses: actions/setup-java@v1 + uses: actions/setup-java@v4 with: + distribution: 'temurin' java-version: 11 - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: ref: ${{ github.event.inputs.commit_hash }} diff --git a/.github/workflows/master_push_and_pull_request_workflow.yml b/.github/workflows/master_push_and_pull_request_workflow.yml index 40e30dd..2434d00 100644 --- a/.github/workflows/master_push_and_pull_request_workflow.yml +++ b/.github/workflows/master_push_and_pull_request_workflow.yml @@ -15,9 +15,9 @@ jobs: runs-on: ${{ matrix.runs-on }} steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up JDK ${{ matrix.java-version }} - uses: actions/setup-java@v2 + uses: actions/setup-java@v4 with: java-version: ${{ matrix.java-version }} distribution: 'temurin' diff --git a/.github/workflows/release_pr_workflow.yml b/.github/workflows/release_pr_workflow.yml index ee7090d..d0967d3 100644 --- a/.github/workflows/release_pr_workflow.yml +++ b/.github/workflows/release_pr_workflow.yml @@ -30,7 +30,7 @@ jobs: fi - name: Checkout master - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: ref: master fetch-depth: 0 @@ -47,7 +47,7 @@ jobs: git commit -m "Bump version to ${{ github.event.inputs.snapshot_version }}" - name: Create Pull Request - uses: peter-evans/create-pull-request@v3 + uses: peter-evans/create-pull-request@v4 with: branch: release-${{ github.event.inputs.release_version }} delete-branch: true