diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ebc2bb1f..0963e478 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,7 +17,7 @@ jobs: - ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f - name: Install dependencies run: yarn --frozen-lockfile @@ -26,7 +26,7 @@ jobs: id: yarn-cache-dir-path run: echo "::set-output name=dir::$(yarn cache dir)" - - uses: actions/cache@v2 + - uses: actions/cache@1a9e2138d905efd099035b49d8b7a3888c653ca8 with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 000c3ee9..9b9e59a2 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -17,12 +17,12 @@ jobs: language: [javascript] steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f - name: Initialize CodeQL - uses: github/codeql-action/init@v1 + uses: github/codeql-action/init@21830ef0c1f0f06f2d82ba3f1f07cb3ffe543ed7 with: languages: ${{ matrix.language }} - name: Perform CodeQL analysis - uses: github/codeql-action/analyze@v1 + uses: github/codeql-action/analyze@21830ef0c1f0f06f2d82ba3f1f07cb3ffe543ed7 diff --git a/.github/workflows/electronegativity.yml b/.github/workflows/electronegativity.yml index b0962aed..9eeba3c4 100644 --- a/.github/workflows/electronegativity.yml +++ b/.github/workflows/electronegativity.yml @@ -7,17 +7,17 @@ on: branches: - master jobs: - build_job: + run-electronegativity: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f - name: Get yarn cache directory path id: yarn-cache-dir-path run: echo "::set-output name=dir::$(yarn cache dir)" - - uses: actions/cache@v2 + - uses: actions/cache@1a9e2138d905efd099035b49d8b7a3888c653ca8 with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} @@ -33,6 +33,6 @@ jobs: yarn run electronegativity -r -i . -o ../results/out.sarif - name: Upload sarif - uses: github/codeql-action/upload-sarif@v1 + uses: github/codeql-action/upload-sarif@21830ef0c1f0f06f2d82ba3f1f07cb3ffe543ed7 with: sarif_file: ../results diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 1fd83381..16ed6fbf 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -11,13 +11,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f - name: Get yarn cache directory path id: yarn-cache-dir-path run: echo "::set-output name=dir::$(yarn cache dir)" - - uses: actions/cache@v2 + - uses: actions/cache@1a9e2138d905efd099035b49d8b7a3888c653ca8 with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} diff --git a/.github/workflows/misspell.yml b/.github/workflows/misspell.yml index 26d7b09a..fe915213 100644 --- a/.github/workflows/misspell.yml +++ b/.github/workflows/misspell.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f - name: Install misspell run: curl -L https://git.io/misspell | bash diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 03378136..341ce802 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -8,13 +8,13 @@ jobs: runs-on: macos-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f - name: Get yarn cache directory path id: yarn-cache-dir-path run: echo "::set-output name=dir::$(yarn cache dir)" - - uses: actions/cache@v2 + - uses: actions/cache@1a9e2138d905efd099035b49d8b7a3888c653ca8 with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} diff --git a/.github/workflows/release-draft.yml b/.github/workflows/release-drafter.yml similarity index 82% rename from .github/workflows/release-draft.yml rename to .github/workflows/release-drafter.yml index e0695b28..628d5dc6 100644 --- a/.github/workflows/release-draft.yml +++ b/.github/workflows/release-drafter.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Release draft - uses: release-drafter/release-drafter@v5 + uses: release-drafter/release-drafter@fe52e97d262833ae07d05efaf1a239df3f1b5cd4 id: release-draft env: GITHUB_TOKEN: ${{ secrets.GH_PAT }} @@ -20,7 +20,7 @@ jobs: needs: release-draft steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f - name: Update package.json run: | @@ -35,7 +35,7 @@ jobs: VERSION: ${{ needs.release-draft.outputs.version }} - name: Create pull request - uses: peter-evans/create-pull-request@v3 + uses: peter-evans/create-pull-request@01f7dd1d28f5131231ba3ede0f1c8cb413584a1d with: branch: ${{ needs.release-draft.outputs.version }} delete-branch: true diff --git a/.github/workflows/source-map.yml b/.github/workflows/source-map.yml index 18b25994..318f1a98 100644 --- a/.github/workflows/source-map.yml +++ b/.github/workflows/source-map.yml @@ -8,13 +8,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f - name: Get yarn cache directory path id: yarn-cache-dir-path run: echo "::set-output name=dir::$(yarn cache dir)" - - uses: actions/cache@v2 + - uses: actions/cache@1a9e2138d905efd099035b49d8b7a3888c653ca8 with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} @@ -32,7 +32,7 @@ jobs: run: echo ::set-output name=version::${GITHUB_REF/refs\/tags\//} - name: Upload source map - uses: getsentry/action-release@v1 + uses: getsentry/action-release@641a80f3e05619b174bcacbfa3b69dff382d2a33 with: url_prefix: ~/dist sourcemaps: dist diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 663cf78c..1ac588a4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,13 +11,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f - name: Get yarn cache directory path id: yarn-cache-dir-path run: echo "::set-output name=dir::$(yarn cache dir)" - - uses: actions/cache@v2 + - uses: actions/cache@1a9e2138d905efd099035b49d8b7a3888c653ca8 with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} @@ -31,7 +31,7 @@ jobs: run: yarn test - name: Publish code coverage - uses: paambaati/codeclimate-action@v2.7.5 + uses: paambaati/codeclimate-action@7bcf9e73c0ee77d178e72c0ec69f1a99c1afc1f3 if: ${{ env.CC_TEST_REPORTER_ID != '' }} env: CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}