Skip to content

Commit

Permalink
ci: add test step
Browse files Browse the repository at this point in the history
  • Loading branch information
ikadix committed Jul 25, 2023
1 parent 4df160b commit 639f2e9
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,25 @@
name: CI
on: push
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: "1.19"
cache: false
- name: setup envtest
run: |
make envtest
./bin/setup-envtest use 1.26.1
- name: run tests
run: make test
release-please:
name: Release Please
runs-on: ubuntu-latest
needs: [test]
if: github.ref == 'refs/heads/main'
outputs:
release_created: ${{ steps.release-please.outputs.release_created }}
Expand Down

0 comments on commit 639f2e9

Please sign in to comment.