diff --git a/.github/workflows/code_quality.yml b/.github/workflows/code_quality.yml index 19114a9..bf90384 100644 --- a/.github/workflows/code_quality.yml +++ b/.github/workflows/code_quality.yml @@ -13,13 +13,13 @@ jobs: qodana: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 with: fetch-depth: 0 - name: 'Qodana Scan' - uses: JetBrains/qodana-action@v2023.3.1 + uses: JetBrains/qodana-action@e42ff2d2727091337983f607598abbbce4e25f1f # v2023.3.1 with: linter: jetbrains/qodana-jvm - - uses: github/codeql-action/upload-sarif@v3 + - uses: github/codeql-action/upload-sarif@b7bf0a3ed3ecfa44160715d7c442788f65f0f923 # v3 with: sarif_file: ${{ runner.temp }}/qodana/results/qodana.sarif.json diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 36a8eb9..07169f6 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -20,11 +20,11 @@ jobs: gradle_wrapper_validation: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 # docs: https://github.com/actions/checkout + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 # docs: https://github.com/actions/checkout with: fetch-depth: '0' # https://github.com/shipkit/shipkit-auto-version#fetch-depth-on-ci - name: Gradle wrapper validation - uses: gradle/wrapper-validation-action@v1.1.0 + uses: gradle/wrapper-validation-action@56b90f209b02bf6d1deae490e9ef18b21a389cd4 # v1.1.0 build: runs-on: ubuntu-latest @@ -36,18 +36,18 @@ jobs: pull-requests: write steps: - name: Checkout code - uses: actions/checkout@v4 # https://github.com/actions/checkout + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 # https://github.com/actions/checkout with: fetch-depth: '0' # https://github.com/shipkit/shipkit-changelog#fetch-depth-on-ci - name: Setup Java - uses: actions/setup-java@v4 + uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4 with: distribution: adopt java-version: 17 - name: Setup Gradle - uses: gradle/actions/setup-gradle@v3 + uses: gradle/actions/setup-gradle@aff52e5be96935327d77c5529075184377dc4371 # v3 - name: Perform Build via Gradle run: ./gradlew build --scan @@ -56,7 +56,7 @@ jobs: run: ./gradlew publishToMavenLocal --scan - name: Upload CodeCov Report - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@ab904c41d6ece82784817410c45d8b8c02684457 # v3 with: files: "**/build/reports/jacoco/**/*.xml" diff --git a/.github/workflows/mega-linter.yml b/.github/workflows/mega-linter.yml index 66cdb82..750a03d 100644 --- a/.github/workflows/mega-linter.yml +++ b/.github/workflows/mega-linter.yml @@ -24,11 +24,11 @@ jobs: gradle_wrapper_validation: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 # docs: https://github.com/actions/checkout + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 # docs: https://github.com/actions/checkout with: fetch-depth: '0' # https://github.com/shipkit/shipkit-auto-version#fetch-depth-on-ci - name: Gradle wrapper validation - uses: gradle/wrapper-validation-action@v1.0.6 + uses: gradle/wrapper-validation-action@8d49e559aae34d3e0eb16cde532684bc9702762b # v1.0.6 build: name: MegaLinter runs-on: ubuntu-latest @@ -39,7 +39,7 @@ jobs: steps: # Git Checkout - name: Checkout Code - uses: actions/checkout@v4 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 with: token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }} fetch-depth: 0 @@ -49,7 +49,7 @@ jobs: id: ml # You can override MegaLinter flavor used to have faster performances # More info at https://oxsecurity.github.io/megalinter/flavors/ - uses: oxsecurity/megalinter@v7 + uses: oxsecurity/megalinter@688bc7466d7ab4faa83d614c2e6f9acf42b674dc # v7 env: # All available variables are described in documentation # https://oxsecurity.github.io/megalinter/configuration/ @@ -60,7 +60,7 @@ jobs: # Upload MegaLinter artifacts - name: Archive production artifacts if: ${{ success() }} || ${{ failure() }} - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4 with: name: MegaLinter reports path: |