Skip to content

Commit

Permalink
Merge pull request #76 from spinkube/full-fetch-depth
Browse files Browse the repository at this point in the history
fix: fetch full-depth
  • Loading branch information
bacongobbler authored Apr 22, 2024
2 parents 2a02caa + a1c52bd commit 382e2e5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.22'
go-version: stable
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@v4
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,18 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
# fetch all history for goreleaser to work correctly
# https://goreleaser.com/ci/actions/#workflow
fetch-depth: 0

- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: "1.22.x"

- name: Install dependencies
run: go mod download
go-version: stable

- name: GoReleaser
uses: goreleaser/goreleaser-action@v5.0.0
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
version: latest
args: release --clean ${{ github.ref == 'refs/heads/main' && '--snapshot' || '' }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: "1.22.x"
go-version: stable

- name: Build
run: go build -o spin-plugin-kube main.go
Expand Down

0 comments on commit 382e2e5

Please sign in to comment.