Skip to content

Commit 1c8fa1b

Browse files
build(deps): update cicd
1 parent ed641c2 commit 1c8fa1b

15 files changed

Lines changed: 58 additions & 58 deletions

.github/actions/config/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ runs:
88
using: composite
99
steps:
1010
- name: Load available example apps Angular CLI version aliases
11-
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
11+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
1212
id: ng-cli-version-aliases
1313
with:
1414
script: |

.github/actions/setup/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ runs:
44
using: composite
55
steps:
66
- name: Setup pnpm
7-
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
7+
uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
88
- name: Setup Node.js
9-
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6
9+
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7
1010
with:
1111
cache: pnpm
1212
node-version-file: .node-version

.github/workflows/cicd-completed.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
ng-cli-version-aliases: ${{ steps.config.outputs.ng-cli-version-aliases }}
3131
steps:
3232
- name: Checkout
33-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
33+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
3434
- name: Load CI/CD configuration
3535
id: config
3636
uses: ./.github/actions/config
@@ -49,7 +49,7 @@ jobs:
4949
pull-requests: write
5050
steps:
5151
- name: Download bundle size analysis results
52-
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7
52+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
5353
with:
5454
name: ngx-meta${{ env.BUNDLE_SIZE_ARTIFACT_NAME_SUFFIX }}-${{ matrix.ng-cli-version-alias }}
5555
#👇 Need to specify it. Otherwise, the ` run-id ` argument won't be taken into account
@@ -60,7 +60,7 @@ jobs:
6060
# https://github.com/orgs/community/discussions/25220
6161
- name: Find associated pull request
6262
id: pr
63-
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
63+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
6464
with:
6565
retries: 3
6666
#👇 Default except 403, which is the rate limit sometimes raised

.github/workflows/cicd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
ng-cli-version-aliases: ${{ steps.config.outputs.ng-cli-version-aliases }}
2121
steps:
2222
- name: Checkout
23-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
23+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
2424
- name: CI/CD configuration
2525
id: config
2626
uses: ./.github/actions/config

.github/workflows/reusable-api-extractor.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ jobs:
1818
timeout-minutes: 5
1919
steps:
2020
- name: Checkout
21-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
21+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
2222
- name: Download tsc output files
23-
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7
23+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
2424
with:
2525
name: ngx-meta${{ env.TSC_ARTIFACT_NAME_SUFFIX }}
2626
path: projects/ngx-meta/out
@@ -31,7 +31,7 @@ jobs:
3131
- name: Run API Documenter
3232
run: pnpm run ngx-meta:api-documenter
3333
- name: Upload API Documenter generated Markdown docs
34-
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
34+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
3535
with:
3636
name: ngx-meta${{ env.API_DOCS_ARTIFACT_NAME_SUFFIX }}
3737
path: projects/ngx-meta/docs/content/api

.github/workflows/reusable-build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,18 @@ jobs:
2020
timeout-minutes: 5
2121
steps:
2222
- name: Checkout
23-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
23+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
2424
- name: Setup
2525
uses: ./.github/actions/setup
2626
- name: Cache Angular build
27-
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5
27+
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6
2828
with:
2929
path: .angular/cache
3030
key: angular-cache
3131
- name: Build libraries
3232
run: pnpm run build
3333
- name: Upload distribution files
34-
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
34+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
3535
with:
3636
name: ngx-meta${{ env.DIST_ARTIFACT_NAME_SUFFIX }}
3737
path: projects/ngx-meta/dist
@@ -40,7 +40,7 @@ jobs:
4040
- name: Instrument for coverage
4141
run: pnpm run instrument-for-coverage
4242
- name: Upload distribution files with coverage instrumentation
43-
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
43+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
4444
with:
4545
name: ngx-meta${{ env.DIST_ARTIFACT_NAME_SUFFIX }}${{ env.COVERAGE_ARTIFACT_NAME_SUFFIX }}
4646
path: projects/ngx-meta/dist
@@ -52,13 +52,13 @@ jobs:
5252
timeout-minutes: 5
5353
steps:
5454
- name: Checkout
55-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
55+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
5656
- name: Setup
5757
uses: ./.github/actions/setup
5858
- name: Run tsc
5959
run: pnpm run ngx-meta:tsc
6060
- name: Upload compiled JS files
61-
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
61+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
6262
with:
6363
name: ngx-meta${{ env.TSC_ARTIFACT_NAME_SUFFIX }}
6464
path: projects/ngx-meta/out

.github/workflows/reusable-bundle-size.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,16 @@ jobs:
3535
working-directory: ${{ env.BUNDLE_SIZE_DIR }}
3636
steps:
3737
- name: Checkout
38-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
38+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
3939
- name: Download example app distribution files
40-
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7
40+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
4141
with:
4242
name: ngx-meta${{ env.EXAMPLE_APP_ARTIFACT_NAME_SUFFIX }}-${{ matrix.ng-cli-version-alias }}
4343
path: ${{ env.EXAMPLE_APP_DIR }}
4444
- name: Setup pnpm
45-
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
45+
uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
4646
- name: Setup Node.js
47-
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6
47+
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7
4848
with:
4949
cache: pnpm
5050
cache-dependency-path: ${{ env.BUNDLE_SIZE_DIR }}/pnpm-lock.yaml
@@ -54,7 +54,7 @@ jobs:
5454
- name: Analyze main bundle size
5555
run: pnpm run analyze ${{ matrix.ng-cli-version-alias }} --json
5656
- name: Fetch bundle size analysis results from target branch
57-
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
57+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
5858
if: github.event_name == 'pull_request'
5959
with:
6060
script: |
@@ -88,7 +88,7 @@ jobs:
8888
- name: Generate bundle size report
8989
run: pnpm run report ${{ matrix.ng-cli-version-alias }} --git-ref '${{ github.sha }}'
9090
- name: Upload bundle size analysis results
91-
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
91+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
9292
with:
9393
name: ngx-meta${{ env.BUNDLE_SIZE_ARTIFACT_NAME_SUFFIX }}-${{ matrix.ng-cli-version-alias }}
9494
path: ${{ env.BUNDLE_SIZE_DIR }}/${{ env.OUTPUT_DIR }}
@@ -107,11 +107,11 @@ jobs:
107107
checks: write
108108
steps:
109109
- name: Download main bundle analysis results
110-
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7
110+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
111111
with:
112112
name: ngx-meta${{ env.BUNDLE_SIZE_ARTIFACT_NAME_SUFFIX }}-${{ matrix.ng-cli-version-alias }}
113113
- name: Create check run
114-
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8
114+
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9
115115
with:
116116
script: |
117117
const smeJson = require('./source-map-explorer.json');

.github/workflows/reusable-coverage.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,19 @@ jobs:
2121
timeout-minutes: 5
2222
steps:
2323
- name: Checkout
24-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
24+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
2525
- name: Setup
2626
uses: ./.github/actions/setup
2727
- name: Download coverage reports
28-
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7
28+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
2929
with:
3030
pattern: '*${{ env.COVERAGE_REPORT_ARTIFACT_NAME_SUFFIX }}'
3131
path: ${{ env.COVERAGE_DIR }}
3232
merge-multiple: true
3333
- name: Merge coverage reports
3434
run: pnpm run coverage:report:all
3535
- name: Upload coverage reports to Codecov
36-
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
36+
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
3737
with:
3838
disable_search: true
3939
files: ${{ env.COVERAGE_DIR }}/lcov.info

.github/workflows/reusable-docs.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ jobs:
2929
deployments: write
3030
steps:
3131
- name: Checkout
32-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
32+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
3333
- name: Download API reference docs
34-
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7
34+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
3535
with:
3636
name: ngx-meta${{ env.API_DOCS_ARTIFACT_NAME_SUFFIX }}
3737
path: projects/ngx-meta/docs/content/api
3838
- name: Download bundle size info
39-
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7
39+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
4040
with:
4141
pattern: ngx-meta${{ env.BUNDLE_SIZE_ARTIFACT_NAME_SUFFIX }}*
4242
- name: Copy reports into directories
@@ -58,9 +58,9 @@ jobs:
5858
cache: poetry
5959
cache-dependency-path: ${{ env.DOCS_DIR }}/poetry.lock
6060
- name: Setup pnpm
61-
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
61+
uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
6262
- name: Setup Node.js
63-
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6
63+
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7
6464
with:
6565
cache: pnpm
6666
cache-dependency-path: ${{ env.DOCS_DIR }}/pnpm-lock.yaml
@@ -70,7 +70,7 @@ jobs:
7070
- name: Generate cache id for Mkdocs build
7171
run: echo "cache_id=$(date --utc '+%V')" >> "$GITHUB_ENV"
7272
- name: Cache Mkdocs build
73-
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5
73+
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6
7474
with:
7575
key: mkdocs-material-${{ env.cache_id }}
7676
path: ${{ env.DOCS_DIR }}/.cache
@@ -85,7 +85,7 @@ jobs:
8585
github.event_name == 'pull_request' &&
8686
contains(github.event.pull_request.labels.*.name, 'preview docs')
8787
)
88-
uses: cloudflare/wrangler-action@da0e0dfe58b7a431659754fdf3f186c529afbe65 # v3.14.1
88+
uses: cloudflare/wrangler-action@ebbaa1584979971c8614a24965b4405ff95890e0 # v4.0.0
8989
with:
9090
accountId: ${{ secrets.cloudflare-account-id }}
9191
apiToken: ${{ secrets.cloudflare-api-token }}

.github/workflows/reusable-e2e.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,24 +34,24 @@ jobs:
3434
working-directory: ${{ env.E2E_DIR }}
3535
steps:
3636
- name: Checkout
37-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
37+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
3838
- name: Download example app with coverage instrumentation
39-
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7
39+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
4040
with:
4141
name: ngx-meta${{ env.EXAMPLE_APP_ARTIFACT_NAME_SUFFIX }}-${{ matrix.ng-cli-version-alias }}${{ env.COVERAGE_ARTIFACT_NAME_SUFFIX }}
4242
path: ${{ env.EXAMPLE_APP_DIR }}
4343
- name: Setup pnpm
44-
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
44+
uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
4545
- name: Setup Node.js
46-
uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6
46+
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7
4747
with:
4848
cache: pnpm
4949
cache-dependency-path: ${{ env.E2E_DIR }}/pnpm-lock.yaml
5050
node-version-file: .node-version # should be one compatible with Angular example app
5151
- name: Configure Cypress cache directory
5252
run: echo "CYPRESS_CACHE_FOLDER=$HOME/.cache/Cypress" >> "$GITHUB_ENV"
5353
- name: Cypress cache
54-
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5
54+
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6
5555
env:
5656
cache-name: ngx-meta-e2e-cypress
5757
e2e_lockfile_hash: ${{ hashFiles(format('{0}/pnpm-lock.yaml', env.E2E_DIR)) }}
@@ -64,7 +64,7 @@ jobs:
6464
run: pnpm run ci:serve &
6565
working-directory: ${{ env.EXAMPLE_APP_DIR }}
6666
- name: Cypress run
67-
uses: cypress-io/github-action@2ad32e649e4db26c07674ebae31a297601dbcbaf # v6.10.8
67+
uses: cypress-io/github-action@fa4a118725a8f001170d49631ea89e5d66fee626 # v7.4.1
6868
env:
6969
COVERAGE_JSON_REPORT_NAME: e2e-${{ matrix.ng-cli-version-alias }}.json
7070
with:
@@ -75,7 +75,7 @@ jobs:
7575
# Given we're doing caching manually, installing apart to leverage cache
7676
install: false
7777
- name: Upload coverage report
78-
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
78+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
7979
if: failure() || success()
8080
with:
8181
name: ngx-meta-e2e-${{ matrix.ng-cli-version-alias }}${{ env.COVERAGE_REPORT_ARTIFACT_NAME_SUFFIX }}

0 commit comments

Comments
 (0)