diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6b43f67..f229a1d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,17 +2,17 @@ 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 ] + java-version: [8, 11, 17] steps: - name: Checkout repository @@ -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 4d6998a..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,7 +21,7 @@ jobs: strategy: fail-fast: false matrix: - language: [ 'java' ] + language: ["java"] steps: - name: Checkout repository diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index 77a07b6..d986e3a 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 5ab27da..0ece5e9 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -2,12 +2,12 @@ name: Publish on: release: - types: [ published ] + types: [published] jobs: deploy: name: Deploy to package index - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 env: MAVEN_SNAPSHOTS_URL: ${{ vars.OSSRH_SNAPSHOT_URL }} MAVEN_RELEASES_URL: ${{ vars.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: |