mirror of
https://github.com/mickael-menu/zk
synced 2024-11-15 12:12:56 +00:00
70a9afb9f5
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
38 lines
667 B
YAML
38 lines
667 B
YAML
name: Build
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
pull_request:
|
|
branches: [ main ]
|
|
|
|
jobs:
|
|
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
lfs: 'true'
|
|
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v5
|
|
with:
|
|
go-version-file: 'go.mod'
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
go install github.com/mickael-menu/tesh@latest
|
|
|
|
- name: Build
|
|
run: make build
|
|
|
|
- name: Test
|
|
run: make test
|
|
|
|
- name: Tesh
|
|
# See https://github.com/actions/runner/issues/241#issuecomment-924327172
|
|
shell: script --return --quiet --command "bash {0}"
|
|
run: make tesh
|
|
|