Skip to content

Commit

Permalink
build: checkout before setting up Go (#2873)
Browse files Browse the repository at this point in the history
  • Loading branch information
knqyf263 committed Sep 14, 2022
1 parent 39f83af commit dac2b4a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/reusable-release.yaml
Expand Up @@ -59,16 +59,16 @@ jobs:
username: ${{ secrets.ECR_ACCESS_KEY_ID }}
password: ${{ secrets.ECR_SECRET_ACCESS_KEY }}

- name: Setup Go
uses: actions/setup-go@v3
with:
go-version-file: go.mod

- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Setup Go
uses: actions/setup-go@v3
with:
go-version-file: go.mod

- name: Generate SBOM
uses: CycloneDX/gh-gomod-generate-sbom@v1
with:
Expand Down

0 comments on commit dac2b4a

Please sign in to comment.