chore: prepare for v2.45.3-gmp.18-rc.1 release #287
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Copyright 2025 Google LLC | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # https://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Unless required by applicable law or agreed to in writing, software | |
| # distributed under the License is distributed on an "AS IS" BASIS, | |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| # See the License for the specific language governing permissions and | |
| # limitations under the License. | |
| name: Presubmit | |
| on: | |
| push: | |
| jobs: | |
| go: | |
| name: Go & npm tests | |
| runs-on: ubuntu-latest | |
| container: | |
| image: quay.io/prometheus/golang-builder:1.24-base | |
| steps: | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| with: | |
| persist-credentials: false | |
| - uses: prometheus/promci@443c7fc2397e946bc9f5029e313a9c3441b9b86d # v0.4.7 | |
| - uses: ./.github/promci/actions/setup_environment | |
| with: | |
| enable_npm: true | |
| - run: make test | |
| build-image-amd64: | |
| name: Ensure Google image builds (amd64) | |
| timeout-minutes: 30 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@v3 | |
| - name: Ensure forked image is buildable | |
| run: | | |
| docker run --rm --privileged multiarch/qemu-user-static --reset --credential yes --persistent yes | |
| docker buildx create --name multi-arch-builder --use | |
| docker buildx build -t ensure-it-builds:amd64 . -f ./Dockerfile.google --platform linux/amd64 --load | |
| # TODO: One day we could enable this, but right now it's OOMing on free GH action. | |
| # docker buildx build -t ensure-it-builds:arm64 . --platform linux/arm64 --load |