Skip to content

Commit

Permalink
ci: verify that generated project can build and test
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeagle committed May 6, 2024
1 parent b25c1e7 commit e76d44d
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '>=1.22'
- uses: bazel-contrib/setup-bazel@0.8.2
with:
bazelisk-cache: true
repository-cache: true
- run: |
go install github.com/hay-kot/scaffold@v0.0.89
scaffold help
cd $(mktemp -d)
scaffold new $GITHUB_WORKSPACE

0 comments on commit e76d44d

Please sign in to comment.