Skip to content

Commit 908b3b0

Browse files
artbinArtem Kulyabin
andauthored
Fix GitHub Actions warnings (deckhouse#72)
Signed-off-by: Artem Kulyabin <[email protected]> Co-authored-by: Artem Kulyabin <[email protected]>
1 parent a0d3703 commit 908b3b0

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

.github/workflows/chart.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
tests:
2323
runs-on: ubuntu-latest
2424
steps:
25-
- uses: actions/checkout@v3
25+
- uses: actions/checkout@v3.5.2
2626
- uses: werf/actions/[email protected]
2727
- name: Werf lint chart
2828
run: cd "$CHART_DIR" && werf helm lint
@@ -33,7 +33,7 @@ jobs:
3333
if: "github.event_name == 'push' && github.ref == 'refs/heads/master'"
3434
needs: tests
3535
steps:
36-
- uses: actions/checkout@v3
36+
- uses: actions/checkout@v3.5.2
3737
- uses: werf/actions/[email protected]
3838
- name: Package werf charts
3939
run: |
@@ -43,4 +43,4 @@ jobs:
4343
run: |
4444
while read package; do
4545
curl -sSL --post301 --data-binary "@.packages/$package" --user "${{ secrets.CHARTMUSEUM_BASIC_AUTH_USER }}:${{ secrets.CHARTMUSEUM_BASIC_AUTH_PASS }}" "$CHARTMUSEUM_URL"
46-
done < <(find .packages -mindepth 1 -maxdepth 1 -type f -name '*.tgz' -exec sh -c 'basename "$0"' '{}' \;)
46+
done < <(find .packages -mindepth 1 -maxdepth 1 -type f -name '*.tgz' -exec sh -c 'basename "$0"' '{}' \;)

.github/workflows/ci.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,17 @@ jobs:
1919
with:
2020
go-version: '1.19'
2121

22-
- uses: actions/checkout@v3
22+
- uses: actions/checkout@v3.5.2
2323

2424
- name: Test With Coverage
2525
run: go test -v -race -coverprofile=coverage.txt -covermode=atomic ./...
2626
- name: Upload coverage to Codecov
27-
uses: codecov/codecov-action@v2
27+
uses: codecov/codecov-action@v3.1.4
2828
with:
2929
files: coverage.txt
3030

3131
- name: golangci-lint
32-
uses: golangci/golangci-lint-action@v3
32+
uses: golangci/golangci-lint-action@v3.4.0
3333
with:
3434
args: --timeout=5m
3535
# since go test already does it in a previous step
@@ -41,12 +41,12 @@ jobs:
4141
contents: read
4242
packages: write
4343
steps:
44-
- uses: actions/checkout@v3
44+
- uses: actions/checkout@v3.5.2
4545
# Login against a Docker registry except on PR
4646
# https://github.com/docker/login-action
4747
- name: Log into registry ${{ env.REGISTRY }}
4848
if: github.event_name != 'pull_request'
49-
uses: docker/login-action@28218f9b04b4f3f62068d7b6ce6ca5b26e35336c
49+
uses: docker/login-action@v2.1.0
5050
with:
5151
registry: ${{ env.REGISTRY }}
5252
username: ${{ secrets.DECKHOUSE_REGISTRY_USER }}
@@ -55,15 +55,15 @@ jobs:
5555
# https://github.com/docker/metadata-action
5656
- name: Extract Docker metadata
5757
id: meta
58-
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
58+
uses: docker/metadata-action@v4.4.0
5959
with:
6060
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
6161
# Build and push Docker image with Buildx (don't push on PR)
6262
# https://github.com/docker/build-push-action
6363
- name: Build and push Docker image
64-
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
64+
uses: docker/build-push-action@v4.0.0
6565
with:
6666
context: .
6767
push: ${{ github.event_name != 'pull_request' }}
6868
tags: ${{ steps.meta.outputs.tags }}
69-
labels: ${{ steps.meta.outputs.labels }}
69+
labels: ${{ steps.meta.outputs.labels }}

0 commit comments

Comments
 (0)