Skip to content

Commit

Permalink
ci: use script/ci to run test and validation
Browse files Browse the repository at this point in the history
Signed-off-by: Vicente Cheng <[email protected]>
  • Loading branch information
Vicente-Cheng committed Jul 1, 2024
1 parent 2a5f13f commit 2ef2139
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.21
go-version: 1.22

- name: lint
run: |
Expand All @@ -30,5 +30,5 @@ jobs:
- name: Build
run: go build -v ./...

- name: Test
run: go test -v ./...
- name: CI
run: make ci
7 changes: 7 additions & 0 deletions scripts/ci
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash
set -e

cd $(dirname $0)

./test
./validate

0 comments on commit 2ef2139

Please sign in to comment.