2020-09-10 03:11:46 +08:00
|
|
|
name: depaware
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- main
|
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- '*'
|
2022-10-22 05:15:28 +08:00
|
|
|
- 'release-branch/*'
|
2020-09-10 03:11:46 +08:00
|
|
|
|
2022-08-15 13:43:07 +08:00
|
|
|
concurrency:
|
|
|
|
group: ${{ github.workflow }}-$${{ github.head_ref || github.run_id }}
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
2020-09-10 03:11:46 +08:00
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2022-08-30 19:41:08 +08:00
|
|
|
- name: Check out code
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
|
2020-09-10 03:11:46 +08:00
|
|
|
- name: Set up Go
|
2022-03-17 03:46:16 +08:00
|
|
|
uses: actions/setup-go@v3
|
2020-09-10 03:11:46 +08:00
|
|
|
with:
|
2022-08-30 19:41:08 +08:00
|
|
|
go-version-file: go.mod
|
2020-09-10 03:11:46 +08:00
|
|
|
|
2022-08-06 02:12:35 +08:00
|
|
|
- name: depaware
|
|
|
|
run: go run github.com/tailscale/depaware --check
|
|
|
|
tailscale.com/cmd/tailscaled
|
|
|
|
tailscale.com/cmd/tailscale
|
|
|
|
tailscale.com/cmd/derper
|