diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5ab0b3f5069..2daa5186986 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,8 +8,7 @@ jobs: strategy: matrix: go-version: [1.21.x, 1.22.x, 1.23.x] - os: [ubuntu-latest, macos-latest, windows-latest] - runs-on: ${{ matrix.os }} + runs-on: [earthly-satellite#grpc-gateway,earthly-cache-folder#/tmp/ucacher] steps: - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5 with: @@ -17,7 +16,7 @@ jobs: - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 - run: go build ./... test: - runs-on: ubuntu-latest + runs-on: [earthly-satellite#grpc-gateway,earthly-cache-folder#/tmp/ucacher] steps: - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5 with: @@ -25,7 +24,7 @@ jobs: - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 - run: go test ./... node_test: - runs-on: ubuntu-latest + runs-on: [earthly-satellite#grpc-gateway,earthly-cache-folder#/tmp/ucacher] steps: - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4 @@ -46,7 +45,7 @@ jobs: credentials: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - runs-on: ubuntu-latest + runs-on: [earthly-satellite#grpc-gateway,earthly-cache-folder#/tmp/ucacher] steps: - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 # Required with newer versions of Git @@ -64,7 +63,7 @@ jobs: credentials: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - runs-on: ubuntu-latest + runs-on: [earthly-satellite#grpc-gateway,earthly-cache-folder#/tmp/ucacher] steps: - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 - uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4 @@ -97,7 +96,7 @@ jobs: - name: Run tests with Bazel run: bazel test //... gorelease: - runs-on: ubuntu-latest + runs-on: [earthly-satellite#grpc-gateway,earthly-cache-folder#/tmp/ucacher] steps: - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5 @@ -106,7 +105,7 @@ jobs: check-latest: true - run: go run golang.org/x/exp/cmd/gorelease@latest -base=v2.22.0 proto_lint: - runs-on: ubuntu-latest + runs-on: [earthly-satellite#grpc-gateway,earthly-cache-folder#/tmp/ucacher] steps: - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5 @@ -118,7 +117,7 @@ jobs: - run: PATH=$PATH:~/go/bin buf format -w && git diff --exit-code - run: PATH=$PATH:~/go/bin buf breaking --path protoc-gen-openapiv2/ --against 'https://github.com/grpc-ecosystem/grpc-gateway.git#branch=main' lint: - runs-on: ubuntu-latest + runs-on: [earthly-satellite#grpc-gateway,earthly-cache-folder#/tmp/ucacher] steps: - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5 @@ -129,7 +128,7 @@ jobs: with: install-go: false fuzz: - runs-on: ubuntu-latest + runs-on: [earthly-satellite#grpc-gateway,earthly-cache-folder#/tmp/ucacher] steps: - name: Build Fuzzers id: build