Skip to content

Commit

Permalink
ci(compliance): fix go cache
Browse files Browse the repository at this point in the history
  • Loading branch information
ernado committed Dec 9, 2023
1 parent d0debba commit 7c1f0ea
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/compliance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,17 @@ jobs:
go-version: "1.21.x"
cache: false

- uses: docker/setup-buildx-action@v3

- name: Docker log in
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- uses: actions/checkout@v4

- name: Get Go environment
id: go-env
run: |
Expand All @@ -36,17 +47,6 @@ jobs:
restore-keys: |
Compliance-${{ runner.os }}-go-${{ env.goversion }}
- uses: docker/setup-buildx-action@v3

- name: Docker log in
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- uses: actions/checkout@v4

- name: Go build
env:
CGO_ENABLED: 0
Expand Down

0 comments on commit 7c1f0ea

Please sign in to comment.