Skip to content

Commit

Permalink
use make task
Browse files Browse the repository at this point in the history
Signed-off-by: bakito <github@bakito.ch>
  • Loading branch information
bakito committed Jun 10, 2024
1 parent d6000cc commit 6487f24
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 8 deletions.
1 change: 1 addition & 0 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:

jobs:
e2e:
name: Run end-3-end Tests
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down
28 changes: 20 additions & 8 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ on:
branches: [ main ]

jobs:
golangci:
name: lint
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -23,7 +23,8 @@ jobs:
with:
skip-pkg-cache: true

build:
test:
name: Test Code
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -41,12 +42,8 @@ jobs:
with:
path-to-profile: cover.out

- name: Test GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
version: latest
args: --skip-publish --snapshot --rm-dist
helm:
name: Test Helm Chart
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -73,3 +70,18 @@ jobs:
sed -i '/!\[Version\:/d' helm/README.md.old
diff helm/README.md.old helm/README.md
test-release:
name: Test Release
runs-on: ubuntu-latest
steps:

- name: Check out code into the Go module directory
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: "go.mod"

- name: Run GoReleaser
run: make test-release

0 comments on commit 6487f24

Please sign in to comment.