|
|
|
@ -39,7 +39,7 @@ concurrency:
|
|
|
|
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
jobs:
|
|
|
|
race-root-integration:
|
|
|
|
race-root-integration:
|
|
|
|
runs-on: ubuntu-22.04
|
|
|
|
runs-on: ubuntu-24.04
|
|
|
|
strategy:
|
|
|
|
strategy:
|
|
|
|
fail-fast: false # don't abort the entire matrix if one element fails
|
|
|
|
fail-fast: false # don't abort the entire matrix if one element fails
|
|
|
|
matrix:
|
|
|
|
matrix:
|
|
|
|
@ -74,7 +74,7 @@ jobs:
|
|
|
|
buildflags: "-race"
|
|
|
|
buildflags: "-race"
|
|
|
|
shard: '3/3'
|
|
|
|
shard: '3/3'
|
|
|
|
- goarch: "386" # thanks yaml
|
|
|
|
- goarch: "386" # thanks yaml
|
|
|
|
runs-on: ubuntu-22.04
|
|
|
|
runs-on: ubuntu-24.04
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- name: checkout
|
|
|
|
- name: checkout
|
|
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
|
|
@ -187,7 +187,7 @@ jobs:
|
|
|
|
find $(go env GOMODCACHE)/cache -type f -mmin +90 -delete
|
|
|
|
find $(go env GOMODCACHE)/cache -type f -mmin +90 -delete
|
|
|
|
|
|
|
|
|
|
|
|
privileged:
|
|
|
|
privileged:
|
|
|
|
runs-on: ubuntu-22.04
|
|
|
|
runs-on: ubuntu-24.04
|
|
|
|
container:
|
|
|
|
container:
|
|
|
|
image: golang:latest
|
|
|
|
image: golang:latest
|
|
|
|
options: --privileged
|
|
|
|
options: --privileged
|
|
|
|
@ -214,7 +214,7 @@ jobs:
|
|
|
|
XDG_CACHE_HOME: "/var/lib/ghrunner/cache"
|
|
|
|
XDG_CACHE_HOME: "/var/lib/ghrunner/cache"
|
|
|
|
|
|
|
|
|
|
|
|
race-build:
|
|
|
|
race-build:
|
|
|
|
runs-on: ubuntu-22.04
|
|
|
|
runs-on: ubuntu-24.04
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- name: checkout
|
|
|
|
- name: checkout
|
|
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
|
|
@ -258,7 +258,7 @@ jobs:
|
|
|
|
- goos: openbsd
|
|
|
|
- goos: openbsd
|
|
|
|
goarch: amd64
|
|
|
|
goarch: amd64
|
|
|
|
|
|
|
|
|
|
|
|
runs-on: ubuntu-22.04
|
|
|
|
runs-on: ubuntu-24.04
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- name: checkout
|
|
|
|
- name: checkout
|
|
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
|
|
@ -300,7 +300,7 @@ jobs:
|
|
|
|
|
|
|
|
|
|
|
|
ios: # similar to cross above, but iOS can't build most of the repo. So, just
|
|
|
|
ios: # similar to cross above, but iOS can't build most of the repo. So, just
|
|
|
|
#make it build a few smoke packages.
|
|
|
|
#make it build a few smoke packages.
|
|
|
|
runs-on: ubuntu-22.04
|
|
|
|
runs-on: ubuntu-24.04
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- name: checkout
|
|
|
|
- name: checkout
|
|
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
|
|
@ -328,7 +328,7 @@ jobs:
|
|
|
|
- goos: illumos
|
|
|
|
- goos: illumos
|
|
|
|
goarch: amd64
|
|
|
|
goarch: amd64
|
|
|
|
|
|
|
|
|
|
|
|
runs-on: ubuntu-22.04
|
|
|
|
runs-on: ubuntu-24.04
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- name: checkout
|
|
|
|
- name: checkout
|
|
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
|
|
@ -366,7 +366,7 @@ jobs:
|
|
|
|
# similar to cross above, but android fails to build a few pieces of the
|
|
|
|
# similar to cross above, but android fails to build a few pieces of the
|
|
|
|
# repo. We should fix those pieces, they're small, but as a stepping stone,
|
|
|
|
# repo. We should fix those pieces, they're small, but as a stepping stone,
|
|
|
|
# only test the subset of android that our past smoke test checked.
|
|
|
|
# only test the subset of android that our past smoke test checked.
|
|
|
|
runs-on: ubuntu-22.04
|
|
|
|
runs-on: ubuntu-24.04
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- name: checkout
|
|
|
|
- name: checkout
|
|
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
|
|
@ -381,7 +381,7 @@ jobs:
|
|
|
|
GOARCH: arm64
|
|
|
|
GOARCH: arm64
|
|
|
|
|
|
|
|
|
|
|
|
wasm: # builds tsconnect, which is the only wasm build we support
|
|
|
|
wasm: # builds tsconnect, which is the only wasm build we support
|
|
|
|
runs-on: ubuntu-22.04
|
|
|
|
runs-on: ubuntu-24.04
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- name: checkout
|
|
|
|
- name: checkout
|
|
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
|
|
@ -420,7 +420,7 @@ jobs:
|
|
|
|
find $(go env GOMODCACHE)/cache -type f -mmin +90 -delete
|
|
|
|
find $(go env GOMODCACHE)/cache -type f -mmin +90 -delete
|
|
|
|
|
|
|
|
|
|
|
|
tailscale_go: # Subset of tests that depend on our custom Go toolchain.
|
|
|
|
tailscale_go: # Subset of tests that depend on our custom Go toolchain.
|
|
|
|
runs-on: ubuntu-22.04
|
|
|
|
runs-on: ubuntu-24.04
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- name: checkout
|
|
|
|
- name: checkout
|
|
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
|
|
@ -440,7 +440,7 @@ jobs:
|
|
|
|
# explicit 'if' condition, because the default condition for steps is
|
|
|
|
# explicit 'if' condition, because the default condition for steps is
|
|
|
|
# 'success()', meaning "only run this if no previous steps failed".
|
|
|
|
# 'success()', meaning "only run this if no previous steps failed".
|
|
|
|
if: github.event_name == 'pull_request'
|
|
|
|
if: github.event_name == 'pull_request'
|
|
|
|
runs-on: ubuntu-22.04
|
|
|
|
runs-on: ubuntu-24.04
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- name: build fuzzers
|
|
|
|
- name: build fuzzers
|
|
|
|
id: build
|
|
|
|
id: build
|
|
|
|
@ -492,7 +492,7 @@ jobs:
|
|
|
|
path: ${{ env.artifacts_path }}/out/artifacts
|
|
|
|
path: ${{ env.artifacts_path }}/out/artifacts
|
|
|
|
|
|
|
|
|
|
|
|
depaware:
|
|
|
|
depaware:
|
|
|
|
runs-on: ubuntu-22.04
|
|
|
|
runs-on: ubuntu-24.04
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- name: checkout
|
|
|
|
- name: checkout
|
|
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
|
|
@ -501,7 +501,7 @@ jobs:
|
|
|
|
make depaware
|
|
|
|
make depaware
|
|
|
|
|
|
|
|
|
|
|
|
go_generate:
|
|
|
|
go_generate:
|
|
|
|
runs-on: ubuntu-22.04
|
|
|
|
runs-on: ubuntu-24.04
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- name: checkout
|
|
|
|
- name: checkout
|
|
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
|
|
@ -514,7 +514,7 @@ jobs:
|
|
|
|
git diff --name-only --exit-code || (echo "The files above need updating. Please run 'go generate'."; exit 1)
|
|
|
|
git diff --name-only --exit-code || (echo "The files above need updating. Please run 'go generate'."; exit 1)
|
|
|
|
|
|
|
|
|
|
|
|
go_mod_tidy:
|
|
|
|
go_mod_tidy:
|
|
|
|
runs-on: ubuntu-22.04
|
|
|
|
runs-on: ubuntu-24.04
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- name: checkout
|
|
|
|
- name: checkout
|
|
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
|
|
@ -526,7 +526,7 @@ jobs:
|
|
|
|
git diff --name-only --exit-code || (echo "Please run 'go mod tidy'."; exit 1)
|
|
|
|
git diff --name-only --exit-code || (echo "Please run 'go mod tidy'."; exit 1)
|
|
|
|
|
|
|
|
|
|
|
|
licenses:
|
|
|
|
licenses:
|
|
|
|
runs-on: ubuntu-22.04
|
|
|
|
runs-on: ubuntu-24.04
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- name: checkout
|
|
|
|
- name: checkout
|
|
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
|
|
@ -534,7 +534,7 @@ jobs:
|
|
|
|
run: ./scripts/check_license_headers.sh .
|
|
|
|
run: ./scripts/check_license_headers.sh .
|
|
|
|
|
|
|
|
|
|
|
|
staticcheck:
|
|
|
|
staticcheck:
|
|
|
|
runs-on: ubuntu-22.04
|
|
|
|
runs-on: ubuntu-24.04
|
|
|
|
strategy:
|
|
|
|
strategy:
|
|
|
|
fail-fast: false # don't abort the entire matrix if one element fails
|
|
|
|
fail-fast: false # don't abort the entire matrix if one element fails
|
|
|
|
matrix:
|
|
|
|
matrix:
|
|
|
|
@ -575,7 +575,7 @@ jobs:
|
|
|
|
- go_mod_tidy
|
|
|
|
- go_mod_tidy
|
|
|
|
- licenses
|
|
|
|
- licenses
|
|
|
|
- staticcheck
|
|
|
|
- staticcheck
|
|
|
|
runs-on: ubuntu-22.04
|
|
|
|
runs-on: ubuntu-24.04
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- name: notify
|
|
|
|
- name: notify
|
|
|
|
# Only notify slack for merged commits, not PR failures.
|
|
|
|
# Only notify slack for merged commits, not PR failures.
|
|
|
|
@ -604,7 +604,7 @@ jobs:
|
|
|
|
|
|
|
|
|
|
|
|
check_mergeability:
|
|
|
|
check_mergeability:
|
|
|
|
if: always()
|
|
|
|
if: always()
|
|
|
|
runs-on: ubuntu-22.04
|
|
|
|
runs-on: ubuntu-24.04
|
|
|
|
needs:
|
|
|
|
needs:
|
|
|
|
- android
|
|
|
|
- android
|
|
|
|
- test
|
|
|
|
- test
|
|
|
|
|