diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 1ba1f3b..c9d1dc6 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,15 +1,10 @@ -# To get started with Dependabot version updates, you'll need to specify which -# package ecosystems to update and where the package manifests are located. -# Please see the documentation for all configuration options: -# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates - version: 2 updates: - - package-ecosystem: "github-actions" - directory: "/" + - package-ecosystem: github-actions + directory: '/' schedule: - interval: "weekly" - - package-ecosystem: "gomod" - directory: "/" + interval: weekly + - package-ecosystem: gomod + directory: '/' schedule: - interval: "weekly" + interval: weekly diff --git a/.github/workflows/test.yml b/.github/workflows/pr.yml similarity index 89% rename from .github/workflows/test.yml rename to .github/workflows/pr.yml index 998ec03..0b1fedb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/pr.yml @@ -1,9 +1,10 @@ -name: Test Branch +name: PR check on: push: branches: [ main ] pull_request: + merge_group: workflow_dispatch: concurrency: @@ -27,9 +28,9 @@ jobs: - uses: golangci/golangci-lint-action@v4 with: version: latest - args: --timeout=5m - - run: make test + - name: Run tests + run: make test - uses: coverallsapp/github-action@v2 with: diff --git a/.github/workflows/release.yml b/.github/workflows/tag.yml similarity index 79% rename from .github/workflows/release.yml rename to .github/workflows/tag.yml index 98d859e..a6595d2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/tag.yml @@ -14,14 +14,13 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - run: git fetch --force --tags + - name: Unshallow + run: git fetch --prune --unshallow - uses: actions/setup-go@v5 with: - go-version-file: 'go.mod' + go-version-file: go.mod - uses: goreleaser/goreleaser-action@v5 with: diff --git a/.golangci.yml b/.golangci.yml index f3f5ee7..a2052d7 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,4 +1,5 @@ run: + timeout: 5m skip-dirs: - tmp diff --git a/.goreleaser.yml b/.goreleaser.yml index fbb8188..6282460 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,5 +1,22 @@ +project_name: keel + +release: + github: + owner: foomo + name: keel + prerelease: auto + builds: - skip: true +archives: + - format: tar.gz + format_overrides: + - goos: windows + format: zip + files: + - LICENSE + - README.md + changelog: use: github-native