diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index b28f563..613135d 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -10,6 +10,7 @@ on: jobs: e2e: + name: Run end-3-end Tests runs-on: ubuntu-latest steps: - name: Checkout diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 3a34ee1..c15b350 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -7,8 +7,8 @@ on: branches: [ main ] jobs: - golangci: - name: lint + lint: + name: Lint runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -23,7 +23,8 @@ jobs: with: skip-pkg-cache: true - build: + test: + name: Test Code runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -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 @@ -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