Skip to content

Commit

Permalink
Bump up github actions for typescript model generation workflow (#1343)
Browse files Browse the repository at this point in the history
* Bump up github actions for typescript model generation workflow

Signed-off-by: thepetk <[email protected]>

* Pin setup-python to its latest version

Signed-off-by: thepetk <[email protected]>

* Bump up setup-node node-version to 18

Signed-off-by: thepetk <[email protected]>

* Bump up setup-go version to 1.18 inside codecov workflow

Signed-off-by: thepetk <[email protected]>

* Update .github/workflows/codecov.yaml

Signed-off-by: thepetk <[email protected]>

Co-authored-by: Armel Soro <[email protected]>
Signed-off-by: thepetk <[email protected]>

---------

Signed-off-by: thepetk <[email protected]>
Co-authored-by: Armel Soro <[email protected]>
  • Loading branch information
thepetk and rm3l authored Nov 13, 2023
1 parent a6ec0a3 commit 447aa00
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codecov.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-devfile-schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-devfile-schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release-typescript-models.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down

0 comments on commit 447aa00

Please sign in to comment.