diff --git a/.github/workflows/on-pr-goreleaser.yaml b/.github/workflows/on-pr-goreleaser.yaml deleted file mode 100644 index 5b36d90..0000000 --- a/.github/workflows/on-pr-goreleaser.yaml +++ /dev/null @@ -1,26 +0,0 @@ -name: Verify GoReleaser config -on: - pull_request: - paths: - - '.config/goreleaser.yml' - push: - paths: - - '.config/goreleaser.yml' - -jobs: - check-goreleaser-config: - name: Check GoReleaser config - runs-on: ubuntu-latest - steps: - - name: Harden Runner - uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1 - with: - egress-policy: audit - - - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 - - - name: Check GoReleaser config - uses: goreleaser/goreleaser-action@e435ccd777264be153ace6237001ef4d979d3a7a #v6.4.0 - with: - version: 'v2.12.5' - args: check diff --git a/.config/goreleaser.yml b/.goreleaser.yml similarity index 87% rename from .config/goreleaser.yml rename to .goreleaser.yml index 462e898..45fc36b 100644 --- a/.config/goreleaser.yml +++ b/.goreleaser.yml @@ -1,4 +1,3 @@ -version: 2 project_name: kured before: hooks: @@ -24,10 +23,10 @@ builds: - -trimpath snapshot: - version_template: "{{ .ShortCommit }}" + name_template: "{{ .ShortCommit }}" release: disable: true changelog: - disable: true \ No newline at end of file + skip: true diff --git a/.config/mise.toml b/.mise/config.toml similarity index 84% rename from .config/mise.toml rename to .mise/config.toml index ecda906..9ab9072 100644 --- a/.config/mise.toml +++ b/.mise/config.toml @@ -1,7 +1,7 @@ [tools] cosign = "2.2.3" golangci-lint = "2.1.6" -goreleaser = "2.12.5" +goreleaser = "1.24.0" kind = "0.30.0" kubectl = "1.31.0" shellcheck = "0.11.0" diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a0ba750..70fec70 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -40,7 +40,7 @@ Your system needs at least the following binaries installed: ### Fetch the additional binaries required Please run `make install-tools` once on a fresh repository clone to download necessary developer tools. -Installed tools are listed in [.mise directory](.config/mise.toml). +Installed tools are listed in [.mise directory](.mise/config.toml). ### Configure your git for the "Certificate of Origin" @@ -94,7 +94,7 @@ We also have other tests: All these tests are run on every PR/tagged release. See [.github/workflows](.github/workflows) for more details. -We use [GoReleaser to build](.config/goreleaser.yml). +We use [GoReleaser to build](.goreleaser.yml). ## Regular development activities / maintenance diff --git a/Makefile b/Makefile index 7596258..1ef091b 100644 --- a/Makefile +++ b/Makefile @@ -69,8 +69,4 @@ lint: lint-docs: @echo "Running lychee" - mise x lychee@latest -- lychee --verbose --no-progress '*.md' '*.yaml' '*/*/*.go' --exclude-link-local - -lint-goreleaser: - @echo "Checking goreleaser" - goreleaser check \ No newline at end of file + mise x lychee@latest -- lychee --verbose --no-progress '*.md' '*.yaml' '*/*/*.go' --exclude-link-local \ No newline at end of file