mirror of
https://github.com/guilhem/headscale-operator.git
synced 2024-11-22 03:23:03 +00:00
Update go.yml
This commit is contained in:
parent
dce9cee2bd
commit
19341b3cf6
10
.github/workflows/go.yml
vendored
10
.github/workflows/go.yml
vendored
|
@ -12,6 +12,8 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
fetch-depth: 2
|
||||||
|
|
||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v3
|
uses: actions/setup-go@v3
|
||||||
|
@ -19,7 +21,11 @@ jobs:
|
||||||
go-version: 1.18
|
go-version: 1.18
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: go build -v ./...
|
run: make build
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: go test -v ./...
|
run: make test
|
||||||
|
|
||||||
|
# Test if anything changed (maining a generator or manifest changed
|
||||||
|
- name: git diff
|
||||||
|
run: git diff --no-ext-diff --quiet --exit-code
|
||||||
|
|
Loading…
Reference in New Issue
Block a user