Skip to content

Commit

Permalink
ci: remove testing from release workflow (#191)
Browse files Browse the repository at this point in the history
Since we already have a CI, we don't need this setup. We just have to
wait for the CI to finish before making a release.
  • Loading branch information
MegaRedHand authored Jan 22, 2025
1 parent 03229a8 commit 792ef30
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 25 deletions.
25 changes: 0 additions & 25 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,32 +10,7 @@ env:
GO_VERSION: '1.22.4'

jobs:
lint:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v6
with:
working-directory: ./cli
version: latest

test:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
- name: Run go test
working-directory: ./cli
run: go test -v ./...

release:
needs: [lint, test]
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 2 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ To release a new version of the CLI, follow the steps below:
> [!WARNING]
> You need to have write permission to this repo to release a new version
- [ ] Check the last CI run on `main` succeeded.

- [ ] Checkout `main` and pull the latest changes:

```sh
Expand Down

0 comments on commit 792ef30

Please sign in to comment.