From 58542e60230054461f904aeab25ef723fa19eff9 Mon Sep 17 00:00:00 2001 From: Yaroslav Grebnov Date: Thu, 1 Oct 2026 21:21:10 +0200 Subject: [PATCH] Update GitHub workflows --- .github/workflows/build.yml | 4 ++-- .github/workflows/release.yml | 9 +++++---- .goreleaser.yaml | 33 +++++++++++++++++++++++++++++---- 3 files changed, 36 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 52b6a5f..6d8da52 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -35,7 +35,7 @@ jobs: run: make build-cli - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 + uses: docker/setup-buildx-action@v4 - name: Build Docker image run: make build-image @@ -63,7 +63,7 @@ jobs: "https://github.com/" - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 + uses: docker/setup-buildx-action@v4 - name: Checkout E2Engine tests uses: actions/checkout@v7 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9712d72..885ef5f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,20 +34,21 @@ jobs: "https://github.com/" - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 + uses: docker/setup-buildx-action@v4 - name: Log in to GitHub Container Registry - uses: docker/login-action@v3 + uses: docker/login-action@v4 with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - - uses: goreleaser/goreleaser-action@v6 + - uses: goreleaser/goreleaser-action@v7 with: distribution: goreleaser version: latest args: release --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - TAP_GITHUB_TOKEN: ${{ secrets.TAP_GITHUB_TOKEN }} \ No newline at end of file + TAP_GITHUB_TOKEN: ${{ secrets.TAP_GITHUB_TOKEN }} + SCOOP_GITHUB_TOKEN: ${{ secrets.SCOOP_GITHUB_TOKEN }} \ No newline at end of file diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 10a41b8..0d906f1 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -1,5 +1,7 @@ version: 2 +project_name: e2engine + builds: - main: ./cmd/cli binary: e2engine @@ -47,6 +49,18 @@ archives: - LICENSE wrap_in_directory: true +nfpms: + - package_name: e2engine + vendor: E2Engine + homepage: "https://github.com/e2engine/cli" + maintainer: "Yaroslav Grebnov " + description: "Declarative end-to-end testing and service mocking for distributed systems." + license: "Apache-2.0" + formats: + - deb + - rpm + bindir: /usr/bin + checksum: name_template: checksums.txt @@ -60,16 +74,27 @@ changelog: - "^vendor:" - "^tests:" -brews: - - repository: +homebrew_casks: + - name: e2engine + repository: owner: e2engine name: homebrew-tap token: "{{ .Env.TAP_GITHUB_TOKEN }}" - directory: Formula + directory: Casks commit_author: name: Yaroslav Grebnov email: grebnov@gmail.com homepage: "https://github.com/e2engine/cli" description: "Declarative end-to-end testing and service mocking for distributed systems." license: "Apache-2.0" - skip_upload: auto \ No newline at end of file + skip_upload: auto + +scoops: + - name: e2engine + repository: + owner: e2engine + name: scoop-bucket + token: "{{ .Env.SCOOP_GITHUB_TOKEN }}" + homepage: "https://github.com/e2engine/cli" + description: "Declarative end-to-end testing and service mocking for distributed systems." + license: "Apache-2.0" \ No newline at end of file