From 93a2a455ede945a05dd51ccb0e61a75d4168f1e0 Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Mon, 21 Nov 2022 13:31:50 +0100 Subject: [PATCH 1/2] workflows,docs: bump github action versions Signed-off-by: Patrik Oldsberg --- .github/workflows/deploy_docker-image.yml | 10 +++++----- docs/features/techdocs/configuring-ci-cd.md | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/deploy_docker-image.yml b/.github/workflows/deploy_docker-image.yml index 90ea8e13f1..e5564f141f 100644 --- a/.github/workflows/deploy_docker-image.yml +++ b/.github/workflows/deploy_docker-image.yml @@ -9,13 +9,13 @@ jobs: steps: - name: checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: path: backstage ref: v${{ github.event.client_payload.version }} - name: setup-node - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: node-version: 16.x registry-url: https://registry.npmjs.org/ @@ -23,7 +23,7 @@ jobs: # Beginning of yarn setup, keep in sync between all workflows. # TODO(Rugvip): move this to composite action once all features we use are supported - name: use node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} registry-url: https://registry.npmjs.org/ # Needed for auth @@ -31,7 +31,7 @@ jobs: # Cache every node_modules folder inside the monorepo - name: cache all node_modules id: cache-modules - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: '**/node_modules' # We use both yarn.lock and package.json as cache keys to ensure that @@ -47,7 +47,7 @@ jobs: run: echo "::set-output name=dir::$(yarn cache dir)" - name: cache global yarn cache - uses: actions/cache@v2 + uses: actions/cache@v3 if: steps.cache-modules.outputs.cache-hit != 'true' with: path: ${{ steps.yarn-cache.outputs.dir }} diff --git a/docs/features/techdocs/configuring-ci-cd.md b/docs/features/techdocs/configuring-ci-cd.md index 0f8044e9c9..8da297c184 100644 --- a/docs/features/techdocs/configuring-ci-cd.md +++ b/docs/features/techdocs/configuring-ci-cd.md @@ -141,14 +141,14 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - - uses: actions/setup-node@v2 - - uses: actions/setup-python@v2 + - uses: actions/setup-node@v3 + - uses: actions/setup-python@v3 # the 2 steps below can be removed if you aren't using plantuml in your documentation - name: setup java - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: distribution: 'zulu' java-version: '11' From ed13863bd76deae328ae29b41f80a394f3ed656b Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Mon, 21 Nov 2022 16:22:53 +0100 Subject: [PATCH 2/2] Update docs/features/techdocs/configuring-ci-cd.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Anders Näsman <70215212+realandersn@users.noreply.github.com> Signed-off-by: Patrik Oldsberg --- docs/features/techdocs/configuring-ci-cd.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/features/techdocs/configuring-ci-cd.md b/docs/features/techdocs/configuring-ci-cd.md index 8da297c184..642fd4ab77 100644 --- a/docs/features/techdocs/configuring-ci-cd.md +++ b/docs/features/techdocs/configuring-ci-cd.md @@ -144,7 +144,7 @@ jobs: uses: actions/checkout@v3 - uses: actions/setup-node@v3 - - uses: actions/setup-python@v3 + - uses: actions/setup-python@v4 # the 2 steps below can be removed if you aren't using plantuml in your documentation - name: setup java