Skip to content

Commit

Permalink
ci: update workflow versions (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
sander-cb authored Jan 31, 2024
2 parents ea08461 + c20145a commit d56d0c8
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,19 @@ jobs:
language: ['java']
steps:
- name: Checkout repository
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # ratchet:actions/checkout@v3
- uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # ratchet:actions/setup-java@v3
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # ratchet:actions/checkout@v4
- uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # ratchet:actions/setup-java@v4
with:
distribution: zulu
java-version: 8
- name: Initialize CodeQL
uses: github/codeql-action/init@6a28655e3dcb49cb0840ea372fd6d17733edd8a4 # ratchet:github/codeql-action/init@v2
uses: github/codeql-action/init@2f93e4319b2f04a2efc38fa7f78bd681bc3f7b2f # ratchet:github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
tools: latest
- name: Autobuild
uses: github/codeql-action/autobuild@6a28655e3dcb49cb0840ea372fd6d17733edd8a4 # ratchet:github/codeql-action/autobuild@v2
uses: github/codeql-action/autobuild@2f93e4319b2f04a2efc38fa7f78bd681bc3f7b2f # ratchet:github/codeql-action/autobuild@v3
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@6a28655e3dcb49cb0840ea372fd6d17733edd8a4 # ratchet:github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@2f93e4319b2f04a2efc38fa7f78bd681bc3f7b2f # ratchet:github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"
14 changes: 7 additions & 7 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,25 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # ratchet:actions/checkout@v3
- uses: "docker://ghcr.io/sethvargo/ratchet@sha256:81af1075dc4ceb54f1c87ac9ff6a9ebe43626c59913f01810f5be77f4eb67301" # ratchet:docker://ghcr.io/sethvargo/ratchet:0.4.0
- uses: "docker://ghcr.io/sethvargo/ratchet@sha256:d59bf320f683dd8146dcbeefb5a98adeffa380f8d5080e211d55b9f9375fef19" # ratchet:docker://ghcr.io/sethvargo/ratchet:0.5.1
with:
args: "check .github/workflows/integration.yml"
- uses: "docker://ghcr.io/sethvargo/ratchet@sha256:81af1075dc4ceb54f1c87ac9ff6a9ebe43626c59913f01810f5be77f4eb67301" # ratchet:docker://ghcr.io/sethvargo/ratchet:0.4.0
- uses: "docker://ghcr.io/sethvargo/ratchet@sha256:d59bf320f683dd8146dcbeefb5a98adeffa380f8d5080e211d55b9f9375fef19" # ratchet:docker://ghcr.io/sethvargo/ratchet:0.5.1
with:
args: "check .github/workflows/codeql.yml"
- uses: "docker://ghcr.io/sethvargo/ratchet@sha256:81af1075dc4ceb54f1c87ac9ff6a9ebe43626c59913f01810f5be77f4eb67301" # ratchet:docker://ghcr.io/sethvargo/ratchet:0.4.0
- uses: "docker://ghcr.io/sethvargo/ratchet@sha256:d59bf320f683dd8146dcbeefb5a98adeffa380f8d5080e211d55b9f9375fef19" # ratchet:docker://ghcr.io/sethvargo/ratchet:0.5.1
with:
args: "check .github/workflows/release.yml"
- uses: "docker://ghcr.io/sethvargo/ratchet@sha256:81af1075dc4ceb54f1c87ac9ff6a9ebe43626c59913f01810f5be77f4eb67301" # ratchet:docker://ghcr.io/sethvargo/ratchet:0.4.0
- uses: "docker://ghcr.io/sethvargo/ratchet@sha256:d59bf320f683dd8146dcbeefb5a98adeffa380f8d5080e211d55b9f9375fef19" # ratchet:docker://ghcr.io/sethvargo/ratchet:0.5.1
with:
args: "check .github/workflows/pages.yml"
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # ratchet:actions/checkout@v3
- uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # ratchet:actions/setup-java@v3
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # ratchet:actions/checkout@v4
- uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # ratchet:actions/setup-java@v4
with:
distribution: zulu
java-version: 8
- uses: gradle/gradle-build-action@b5126f31dbc19dd434c3269bf8c28c315e121da2 # ratchet:gradle/gradle-build-action@v2
- uses: gradle/actions/setup-gradle@ec92e829475ac0c2315ea8f9eced72db85bb337a # ratchet:gradle/actions/setup-gradle@v3
- run: ./gradlew check
12 changes: 6 additions & 6 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@ jobs:
name: pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # ratchet:actions/checkout@v3
- uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # ratchet:actions/setup-java@v3
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # ratchet:actions/checkout@v4
- uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # ratchet:actions/setup-java@v4
with:
distribution: zulu
java-version: 8
- uses: gradle/gradle-build-action@b5126f31dbc19dd434c3269bf8c28c315e121da2 # ratchet:gradle/gradle-build-action@v2
- uses: gradle/gradle-build-action@b5126f31dbc19dd434c3269bf8c28c315e121da2 # ratchet:gradle/actions/setup-gradle@v3
- run: ./gradlew dokkaHtml
- uses: actions/configure-pages@f156874f8191504dae5b037505266ed5dda6c382 # ratchet:actions/configure-pages@v3
- uses: actions/configure-pages@f156874f8191504dae5b037505266ed5dda6c382 # ratchet:actions/configure-pages@v4
- run: |
mkdir -p _site
mv build/dokka/html _site/api
- uses: actions/upload-pages-artifact@84bb4cd4b733d5c320c9c9cfbc354937524f4d64 # ratchet:actions/upload-pages-artifact@v1
- uses: actions/deploy-pages@9dbe3824824f8a1377b8e298bafde1a50ede43e5 # ratchet:actions/deploy-pages@v2
- uses: actions/upload-pages-artifact@84bb4cd4b733d5c320c9c9cfbc354937524f4d64 # ratchet:actions/upload-pages-artifact@v3
- uses: actions/deploy-pages@9dbe3824824f8a1377b8e298bafde1a50ede43e5 # ratchet:actions/deploy-pages@v4
id: deployment

0 comments on commit d56d0c8

Please sign in to comment.