Bump google.golang.org/grpc from 1.68.0 to 1.68.1 (#4149) #6699
This file contains 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
name: Continuous Integration | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Docker config check | |
uses: dorny/paths-filter@v3 | |
id: dockerchanges | |
with: | |
filters: | | |
dockerconf: | |
- 'Dockerfile' | |
# run only if Docker configuration was changed | |
- if: steps.dockerchanges.outputs.dockerconf == 'true' | |
name: Rebuild Docker image | |
run: docker build -t webplatformtests/wpt.fyi:latest . | |
- uses: ./.github/actions/make-in-docker | |
with: | |
target: lint | |
python_test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Docker config check | |
uses: dorny/paths-filter@v3 | |
id: dockerchanges | |
with: | |
filters: | | |
dockerconf: | |
- 'Dockerfile' | |
# run only if Docker configuration was changed | |
- if: steps.dockerchanges.outputs.dockerconf == 'true' | |
name: Rebuild Docker image | |
run: docker build -t webplatformtests/wpt.fyi:latest . | |
- uses: ./.github/actions/make-in-docker | |
with: | |
target: python_test | |
go_test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Docker config check | |
uses: dorny/paths-filter@v3 | |
id: dockerchanges | |
with: | |
filters: | | |
dockerconf: | |
- 'Dockerfile' | |
# run only if Docker configuration was changed | |
- if: steps.dockerchanges.outputs.dockerconf == 'true' | |
name: Rebuild Docker image | |
run: docker build -t webplatformtests/wpt.fyi:latest . | |
- uses: ./.github/actions/make-in-docker | |
with: | |
target: go_test | |
web_components_test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Docker config check | |
uses: dorny/paths-filter@v3 | |
id: dockerchanges | |
with: | |
filters: | | |
dockerconf: | |
- 'Dockerfile' | |
# run only if Docker configuration was changed | |
- if: steps.dockerchanges.outputs.dockerconf == 'true' | |
name: Rebuild Docker image | |
run: docker build -t webplatformtests/wpt.fyi:latest . | |
- uses: ./.github/actions/make-in-docker | |
with: | |
target: web_components_test | |
go_chrome_test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Docker config check | |
uses: dorny/paths-filter@v3 | |
id: dockerchanges | |
with: | |
filters: | | |
dockerconf: | |
- 'Dockerfile' | |
# run only if Docker configuration was changed | |
- if: steps.dockerchanges.outputs.dockerconf == 'true' | |
name: Rebuild Docker image | |
run: docker build -t webplatformtests/wpt.fyi:latest . | |
- uses: ./.github/actions/make-in-docker | |
with: | |
target: go_chrome_test | |
go_firefox_test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Docker config check | |
uses: dorny/paths-filter@v3 | |
id: dockerchanges | |
with: | |
filters: | | |
dockerconf: | |
- 'Dockerfile' | |
# run only if Docker configuration was changed | |
- if: steps.dockerchanges.outputs.dockerconf == 'true' | |
name: Rebuild Docker image | |
run: docker build -t webplatformtests/wpt.fyi:latest . | |
- uses: ./.github/actions/make-in-docker | |
with: | |
target: go_firefox_test | |
go_cloud_test: | |
# This job uses real Cloud resources. | |
# This means this CI job will have access to the service account. | |
# In that case, similar to deploy.yml, trust only pull requests that are | |
# made within web-platform-tests and exclude forks. | |
if: | | |
(github.repository == 'web-platform-tests/wpt.fyi') && | |
((github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == 'web-platform-tests/wpt.fyi' && github.actor != 'dependabot[bot]') || | |
(github.event_name != 'pull_request')) | |
needs: [go_test, go_chrome_test, go_firefox_test] | |
runs-on: ubuntu-latest | |
env: | |
DOCKER_IMAGE: webplatformtests/wpt.fyi:latest | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 2 | |
- name: secrets | |
run: echo "$GCLOUD_KEY_FILE_JSON" > client-secret.json | |
env: | |
GCLOUD_KEY_FILE_JSON: ${{ secrets.GCLOUD_KEY_FILE_JSON }} | |
- name: Set DOCKER_INSTANCE | |
run: echo "DOCKER_INSTANCE=wptd-dev-$(echo $RANDOM)" >> $GITHUB_ENV | |
- name: Docker config check | |
uses: dorny/paths-filter@v3 | |
id: dockerchanges | |
with: | |
filters: | | |
dockerconf: | |
- 'Dockerfile' | |
# run only if Docker configuration was changed | |
- if: steps.dockerchanges.outputs.dockerconf == 'true' | |
name: Rebuild Docker image | |
run: docker build -t webplatformtests/wpt.fyi:latest . | |
# run only if Docker configuration was not changed | |
- if: steps.dockerchanges.outputs.dockerconf == 'false' | |
name: Fetch latest Docker image | |
run: docker pull "${DOCKER_IMAGE}" | |
- name: pre-installation | |
run: bash ./util/docker-dev/run.sh -d -q | |
- name: run tests with "cloud" build tag | |
run: docker exec -t "${DOCKER_INSTANCE}" make go_cloud_test; |