Skip to content

Commit

Permalink
Pin GH actions only to the latest major version (#188)
Browse files Browse the repository at this point in the history
Fixes #187
  • Loading branch information
britter authored Apr 5, 2024
1 parent 1374585 commit a23c9b9
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: git clone
uses: actions/checkout@v4.1.2
uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v4.2.1
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 11
- name: Set up Gradle
uses: gradle/actions/setup-gradle@v3.1.0
uses: gradle/actions/setup-gradle@v3
- run: "./gradlew :check"
4 changes: 2 additions & 2 deletions .github/workflows/dependency-submission.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4.1.2
uses: actions/checkout@v4
- name: Generate and submit dependency graph
uses: gradle/actions/dependency-submission@v3.1.0
uses: gradle/actions/dependency-submission@v3
with:
build-scan-publish: true
build-scan-terms-of-service-url: "https://gradle.com/terms-of-service"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4.1.2
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Set up JDK 11
uses: actions/setup-java@v4.2.1
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 11
- name: Set up Gradle
uses: gradle/actions/setup-gradle@v3.1.0
uses: gradle/actions/setup-gradle@v3
- run: "./gradlew :asciidoctor --no-configuration-cache"
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/gradle-wrapper-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ jobs:
name: "Validation"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.2
- uses: gradle/wrapper-validation-action@v2.1.2
- uses: actions/checkout@v4
- uses: gradle/wrapper-validation-action@v2
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: git clone
uses: actions/checkout@v4.1.2
uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v4.2.1
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: 11
- name: Set up Gradle
uses: gradle/actions/setup-gradle@v3.1.0
uses: gradle/actions/setup-gradle@v3
- run: "./gradlew :publishPlugin --no-configuration-cache"
env:
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
Expand Down

0 comments on commit a23c9b9

Please sign in to comment.