Skip to content

Commit

Permalink
Fix GitHub Actions warnings (#55)
Browse files Browse the repository at this point in the history
Signed-off-by: Artem Kulyabin <[email protected]>
Co-authored-by: Artem Kulyabin <[email protected]>
  • Loading branch information
artbin and Artem Kulyabin authored May 25, 2023
1 parent 1ecd78d commit 75530a3
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ jobs:
uses: actions/setup-go@v3
with:
go-version: 1.19
- uses: actions/checkout@v2
- uses: actions/checkout@v3.5.2
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
uses: golangci/golangci-lint-action@v3.4.0
with:
version: v1.50.1
args: --timeout=5m
Expand All @@ -32,11 +32,11 @@ jobs:
uses: actions/setup-go@v3
with:
go-version: 1.19
- uses: actions/checkout@v2
- uses: actions/checkout@v3.5.2
- name: Test
run: go test -v -coverprofile=coverage.txt -covermode=atomic ./...
- name: Upload coverage report
uses: codecov/codecov-action@v1.0.2
uses: codecov/codecov-action@v3.1.4
with:
token: ${{ secrets.CODECOV_TOKEN }}
build:
Expand All @@ -45,12 +45,12 @@ jobs:
contents: read
packages: write
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3.5.2
# Login against a Docker registry except on PR
# https://github.com/docker/login-action
- name: Log into registry ${{ env.REGISTRY }}
if: github.event_name != 'pull_request'
uses: docker/login-action@28218f9b04b4f3f62068d7b6ce6ca5b26e35336c
uses: docker/login-action@v2.1.0
with:
registry: ${{ env.REGISTRY }}
username: ${{ secrets.DECKHOUSE_REGISTRY_USER }}
Expand All @@ -59,13 +59,13 @@ jobs:
# https://github.com/docker/metadata-action
- name: Extract Docker metadata
id: meta
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
uses: docker/metadata-action@v4.4.0
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
# Build and push Docker image with Buildx (don't push on PR)
# https://github.com/docker/build-push-action
- name: Build and push Docker image
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
uses: docker/build-push-action@v4.0.0
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
Expand Down

0 comments on commit 75530a3

Please sign in to comment.