diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e87d825..f229a1d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,14 +2,14 @@ name: CI on: pull_request: - branches: [ main ] + branches: [main] push: - branches: [ main ] + branches: [main] jobs: build: name: Build - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 strategy: matrix: java-version: [8, 11, 17] @@ -22,7 +22,7 @@ jobs: uses: actions/setup-java@v4 with: distribution: zulu - java-version: '${{ matrix.java-version }}' + java-version: "${{ matrix.java-version }}" - name: Clean build directory run: ./gradlew clean @@ -32,7 +32,7 @@ jobs: lint: name: Lint - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 steps: - name: Checkout repository diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 455c244..e2a2a42 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -2,17 +2,17 @@ name: "CodeQL" on: push: - branches: [ main ] + branches: [main] pull_request: # The branches below must be a subset of the branches above - branches: [ main ] + branches: [main] schedule: - - cron: '15 18 * * 5' + - cron: "15 18 * * 5" jobs: analyze: name: Analyze - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 permissions: actions: read contents: read @@ -21,20 +21,20 @@ jobs: strategy: fail-fast: false matrix: - language: [ 'java' ] + language: ["java"] steps: - - name: Checkout repository - uses: actions/checkout@v4 + - name: Checkout repository + uses: actions/checkout@v4 - # Initializes the CodeQL tools for scanning. - - name: Initialize CodeQL - uses: github/codeql-action/init@v3 - with: - languages: ${{ matrix.language }} + # Initializes the CodeQL tools for scanning. + - name: Initialize CodeQL + uses: github/codeql-action/init@v3 + with: + languages: ${{ matrix.language }} - - name: Autobuild - uses: github/codeql-action/autobuild@v3 + - name: Autobuild + uses: github/codeql-action/autobuild@v3 - - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v3 + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v3 diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index 27156c7..d754d77 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -12,7 +12,7 @@ jobs: check-title: if: ${{ github.event.pull_request.user.login != 'dependabot[bot]' }} name: Check title - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 steps: - uses: naveenk1223/action-pr-title@v1.0.0 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 446fec7..50e7180 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -7,7 +7,7 @@ on: jobs: deploy: name: Deploy to package index - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 env: MAVEN_SNAPSHOTS_URL: ${{ secrets.OSSRH_SNAPSHOT_URL }} MAVEN_RELEASES_URL: ${{ secrets.OSSRH_RELEASE_URL }} @@ -22,7 +22,7 @@ jobs: uses: actions/setup-java@v4 with: distribution: zulu - java-version: '8' + java-version: "8" - name: Decode signing key ring run: |