diff options
author | John Niang <johnniang@foxmail.com> | 2024-12-05 16:23:33 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-05 10:23:33 +0200 |
commit | 5394ab0ae9143f32589d0c587143e6aa2fc29a2b (patch) | |
tree | e77e544ee242af9ded54549f696be5195848ed57 /.github | |
parent | b453209e85a0ca7b572cbe47f7f3161c09e740c5 (diff) | |
download | pf4j-5394ab0ae9143f32589d0c587143e6aa2fc29a2b.tar.gz pf4j-5394ab0ae9143f32589d0c587143e6aa2fc29a2b.zip |
Fix the deprecation warnings from GitHub Actions (#599)
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build.yml | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 938981c..937a224 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,9 +8,9 @@ on: jobs: build: name: Build - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis - name: Set up JDK 17 @@ -20,11 +20,10 @@ jobs: java-version: 17 cache: maven - name: Cache SonarCloud packages - uses: actions/cache@v1 + uses: actions/cache@v4 with: path: ~/.sonar/cache key: ${{ runner.os }}-sonar - restore-keys: ${{ runner.os }}-sonar - name: Build and analyze env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any |