From 447aa0029ca3ca5a52a4588f74ba85a5e8d83036 Mon Sep 17 00:00:00 2001 From: Theofanis Petkos Date: Mon, 13 Nov 2023 11:05:59 +0000 Subject: [PATCH] Bump up github actions for typescript model generation workflow (#1343) * Bump up github actions for typescript model generation workflow Signed-off-by: thepetk * Pin setup-python to its latest version Signed-off-by: thepetk * Bump up setup-node node-version to 18 Signed-off-by: thepetk * Bump up setup-go version to 1.18 inside codecov workflow Signed-off-by: thepetk * Update .github/workflows/codecov.yaml Signed-off-by: thepetk Co-authored-by: Armel Soro Signed-off-by: thepetk --------- Signed-off-by: thepetk Co-authored-by: Armel Soro --- .github/workflows/codecov.yaml | 2 +- .github/workflows/publish-devfile-schema.yaml | 2 +- .github/workflows/release-devfile-schema.yaml | 2 +- .github/workflows/release-typescript-models.yaml | 8 ++++---- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/codecov.yaml b/.github/workflows/codecov.yaml index c966d9b77..14dffecae 100644 --- a/.github/workflows/codecov.yaml +++ b/.github/workflows/codecov.yaml @@ -36,7 +36,7 @@ jobs: - name: Set up Go 1.x uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0 with: - go-version: 1.17 + go-version-file: go.mod - name: Run tests run: go test ./... -coverprofile cover.out - name: Codecov diff --git a/.github/workflows/publish-devfile-schema.yaml b/.github/workflows/publish-devfile-schema.yaml index f2321e547..8f206829c 100644 --- a/.github/workflows/publish-devfile-schema.yaml +++ b/.github/workflows/publish-devfile-schema.yaml @@ -31,7 +31,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4.7.1 with: python-version: '3.9' diff --git a/.github/workflows/release-devfile-schema.yaml b/.github/workflows/release-devfile-schema.yaml index fd77c2a58..c55470198 100644 --- a/.github/workflows/release-devfile-schema.yaml +++ b/.github/workflows/release-devfile-schema.yaml @@ -31,7 +31,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Setup Python - uses: actions/setup-python@v4 + uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4.7.1 with: python-version: '3.9' diff --git a/.github/workflows/release-typescript-models.yaml b/.github/workflows/release-typescript-models.yaml index d89dc2e46..e0f17f979 100644 --- a/.github/workflows/release-typescript-models.yaml +++ b/.github/workflows/release-typescript-models.yaml @@ -36,19 +36,19 @@ jobs: path: api - name: Setup python - uses: actions/setup-python@v4 + uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4.7.1 with: python-version: '3.9.12' - name: Install Python dependencies - uses: py-actions/py-dependency-install@v2 + uses: py-actions/py-dependency-install@9c419aa98bfb42280bdae2b0a736befd9b01e3b1 # v4.0.0 with: path: 'api/build/typescript-model/requirements.txt' - name: Setup node - uses: actions/setup-node@v1 + uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0 with: - node-version: 12 + node-version: 18 registry-url: 'https://registry.npmjs.org' scope: '@devfile'