Skip to content

Commit 8420d11

Browse files
authored
Merge pull request #1 from thepetk/feature/update_gh_actions
Update deprecated github actions
2 parents adde8ec + 00297fa commit 8420d11

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717
runs-on: ubuntu-latest
1818

1919
steps:
20-
- uses: actions/checkout@v2
20+
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
2121

2222
- name: Setup Go environment
23-
uses: actions/setup-go@v2.1.3
23+
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
2424
with:
2525
# The Go version to download (if necessary) and use. Supports semver spec and ranges.
2626
go-version: 1.18
@@ -42,7 +42,7 @@ jobs:
4242
run: go test -coverprofile cover.out -v ./...
4343

4444
- name: Upload coverage to Codecov
45-
uses: codecov/codecov-action@v2.1.0
45+
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
4646

4747
- name: Check typescript model generation
4848
run: bash ./build/typescript-model/generate.sh

.github/workflows/codecov.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ jobs:
1414
runs-on: ubuntu-20.04
1515
steps:
1616
- name: Checkout
17-
uses: actions/checkout@v2.3.1
17+
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
1818
with:
1919
persist-credentials: false
2020
- name: Set up Go 1.x
21-
uses: actions/setup-go@v2
21+
uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0
2222
with:
2323
go-version: 1.17
2424
- name: Run tests
2525
run: go test ./... -coverprofile cover.out
2626
- name: Codecov
27-
uses: codecov/codecov-action@v2.1.0
27+
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4

.github/workflows/publish-devfile-schema.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ jobs:
2020
python-version: '3.9'
2121

2222
- name: Checkout devfile/devfile-web
23-
uses: actions/checkout@v2
23+
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
2424
with:
2525
repository: devfile/devfile-web
2626
persist-credentials: false
2727
path: devfile-web-repo
2828

2929
- name: Checkout devfile api
30-
uses: actions/checkout@v2
30+
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
3131
with:
3232
path: api-repo
3333

.github/workflows/release-devfile-schema.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ jobs:
2020
python-version: '3.9'
2121

2222
- name: Checkout devfile/devfile-web
23-
uses: actions/checkout@v2
23+
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
2424
with:
2525
repository: devfile/devfile-web
2626
persist-credentials: false
2727
path: devfile-web-repo
2828

2929
- name: Checkout devfile/api
30-
uses: actions/checkout@v2
30+
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
3131
with:
3232
path: api-repo
3333

.github/workflows/release-typescript-models.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Checkout devfile/api
18-
uses: actions/checkout@v2
18+
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
1919
with:
2020
path: api
2121

0 commit comments

Comments
 (0)