From 60bb53d76e2c7804bf0fc7920bcd7a1dbc72d130 Mon Sep 17 00:00:00 2001 From: Nikita Barsukov Date: Fri, 15 Sep 2023 10:53:45 +0300 Subject: [PATCH] ci: pin github action versions --- .github/workflows/build.yml | 4 ++-- .github/workflows/create-release.yml | 2 +- .github/workflows/deploy-preview.yml | 2 +- .github/workflows/deploy.yml | 2 +- .github/workflows/e2e.yml | 8 ++++---- .github/workflows/lint.yml | 14 +++++++------- .github/workflows/npm-publish.yml | 2 +- .github/workflows/test.yml | 8 ++++---- 8 files changed, 21 insertions(+), 21 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7ec375cc4..0e282a267 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,7 +10,7 @@ jobs: if: ${{ !contains(github.head_ref, 'release/') }} runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v4.0.0 - name: Setup Node.js and Cache uses: taiga-family/ci/actions/setup-node@1.12.4 @@ -22,7 +22,7 @@ jobs: if: ${{ !contains(github.head_ref, 'release/') }} runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v4.0.0 - name: Setup Node.js and Cache uses: taiga-family/ci/actions/setup-node@1.12.4 diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index f493f16b0..8d9c7f78f 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -26,7 +26,7 @@ jobs: IS_DRY_MODE: ${{ github.event.inputs.dryRun == 'true' }} steps: - name: Fetch from origin repo - uses: actions/checkout@v4 + uses: actions/checkout@v4.0.0 with: fetch-depth: 0 ref: ${{ github.head_ref }} diff --git a/.github/workflows/deploy-preview.yml b/.github/workflows/deploy-preview.yml index 744e42dbf..9bb2a185e 100644 --- a/.github/workflows/deploy-preview.yml +++ b/.github/workflows/deploy-preview.yml @@ -10,7 +10,7 @@ jobs: name: Firebase runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v4.0.0 - name: Setup Node.js and Cache uses: taiga-family/ci/actions/setup-node@1.12.4 diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 78f87a249..b4269441a 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -8,7 +8,7 @@ jobs: deploy: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v4.0.0 - name: Setup Node.js and Cache uses: taiga-family/ci/actions/setup-node@1.12.4 diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 764d73896..6ffc0ea6f 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -13,7 +13,7 @@ jobs: name: Build demo runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v4.0.0 with: fetch-depth: 10 @@ -43,7 +43,7 @@ jobs: project: [date, date-range, date-time, number, time] name: Kit / ${{ matrix.project }} steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v4.0.0 - name: Setup Node.js and Cache uses: taiga-family/ci/actions/setup-node@1.12.4 @@ -69,7 +69,7 @@ jobs: runs-on: ubuntu-latest name: Recipes steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v4.0.0 - name: Setup Node.js and Cache uses: taiga-family/ci/actions/setup-node@1.12.4 @@ -93,7 +93,7 @@ jobs: runs-on: ubuntu-latest name: Others steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v4.0.0 - name: Setup Node.js and Cache uses: taiga-family/ci/actions/setup-node@1.12.4 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index b21388569..8c9aba39b 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -5,7 +5,7 @@ jobs: typecheck: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v4.0.0 - name: Setup Node.js and Cache uses: taiga-family/ci/actions/setup-node@1.12.4 @@ -27,11 +27,11 @@ jobs: prettier: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v4.0.0 - name: Setup global variables uses: taiga-family/ci/actions/variables@1.12.4 - - uses: actions/checkout@v4 + - uses: actions/checkout@v4.0.0 if: env.SUPPORT_AUTO_PUSH == 'true' with: ref: ${{ github.head_ref }} @@ -50,11 +50,11 @@ jobs: stylelint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v4.0.0 - name: Setup global variables uses: taiga-family/ci/actions/variables@1.12.4 - - uses: actions/checkout@v4 + - uses: actions/checkout@v4.0.0 if: env.SUPPORT_AUTO_PUSH == 'true' with: ref: ${{ github.head_ref }} @@ -73,11 +73,11 @@ jobs: eslint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v4.0.0 - name: Setup global variables uses: taiga-family/ci/actions/variables@1.12.4 - - uses: actions/checkout@v4 + - uses: actions/checkout@v4.0.0 if: env.SUPPORT_AUTO_PUSH == 'true' with: ref: ${{ github.head_ref }} diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 5f9026d02..f8c084107 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -11,7 +11,7 @@ jobs: publish: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v4.0.0 - name: Setup Node.js and Cache uses: taiga-family/ci/actions/setup-node@1.12.4 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 868fb5423..ec717e07c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,26 +11,26 @@ jobs: if: ${{ !contains(github.head_ref, 'release/') }} runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v4.0.0 - name: Setup Node.js and Cache uses: taiga-family/ci/actions/setup-node@1.12.4 - name: Run tests run: npx nx run-many --target test --all --coverage - - uses: codecov/codecov-action@v4 + - uses: codecov/codecov-action@v3.1.4 with: directory: ./coverage/core/ flags: summary,core name: core - - uses: codecov/codecov-action@v4 + - uses: codecov/codecov-action@v3.1.4 with: directory: ./coverage/kit/ flags: summary,kit name: kit - - uses: codecov/codecov-action@v4 + - uses: codecov/codecov-action@v3.1.4 with: directory: ./coverage/angular/ flags: summary,angular