From b8bf02cf7eb7c9492591cff0945e411f0c836c73 Mon Sep 17 00:00:00 2001 From: Matthieu MOREL Date: Thu, 19 Sep 2024 21:50:11 +0200 Subject: [PATCH] Bump testomatio/check-tests from stable to 0.9.6 Signed-off-by: Matthieu MOREL --- .github/workflows/lint.yml | 35 +++++++++++++---------------------- 1 file changed, 13 insertions(+), 22 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index febd2f92de6..7f118e083fd 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,45 +1,38 @@ name: Lint - on: push: merge_group: pull_request: workflow_dispatch: - -concurrency: ${{ github.workflow }}-${{ github.ref }} - +concurrency: '${{ github.workflow }}-${{ github.ref }}' permissions: contents: write - jobs: docker-lint: runs-on: ubuntu-latest steps: - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - - uses: hadolint/hadolint-action@54c9adbab1582c2ef04b2016b760714a4bfde3cf # v3.1.0 with: verbose: true lint: runs-on: ubuntu-latest + permissions: + issues: write + pull-requests: read steps: - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - - uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0 - # uses version from "packageManager" field in package.json - - name: Setup Node.js uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3 with: cache: pnpm - node-version-file: '.node-version' - + node-version-file: .node-version - name: Install Packages run: | pnpm install --frozen-lockfile env: CYPRESS_CACHE_FOLDER: .cache/Cypress - - name: Run Linting shell: bash run: | @@ -55,8 +48,9 @@ jobs: # make sure to return an error exitcode so that GitHub actions shows a red-cross exit 1 fi - - - name: Verify `./src/config.type.ts` is in sync with `./src/schemas/config.schema.yaml` + - name: >- + Verify `./src/config.type.ts` is in sync with + `./src/schemas/config.schema.yaml` shell: bash run: | if ! pnpm run --filter mermaid types:verify-config; then @@ -68,7 +62,6 @@ jobs: # make sure to return an error exitcode so that GitHub actions shows a red-cross exit 1 fi - - name: Verify no circular dependencies working-directory: ./packages/mermaid shell: bash @@ -82,16 +75,14 @@ jobs: # make sure to return an error exitcode so that GitHub actions shows a red-cross exit 1 fi - - name: Verify Docs id: verifyDocs working-directory: ./packages/mermaid - continue-on-error: ${{ github.event_name == 'push' }} - run: pnpm run docs:verify - - - uses: testomatio/check-tests@0ea638fcec1820cf2e7b9854fdbdd04128a55bd4 # stable + continue-on-error: "${{ github.event_name == 'push' }}" + run: 'pnpm run docs:verify' + - uses: testomatio/check-tests@029e70011b529b168d37a85d992e6fc88ada8fdf # 0.9.6 with: framework: cypress - tests: './cypress/e2e/**/**.spec.js' - token: ${{ secrets.GITHUB_TOKEN }} + tests: ./cypress/e2e/**/**.spec.js + token: '${{ secrets.GITHUB_TOKEN }}' has-tests-label: true