Bug 2189169 - Bump x/net dependency #325
Workflow file for this run
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: Build and test Go | |
on: [push, pull_request] | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go 1.18 | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.18 | |
- name: Check out source code | |
uses: actions/checkout@v2 | |
with: | |
path: main | |
ref: ${{ github.event.pull_request.head.sha }} | |
- name: Tidy | |
env: | |
GOPROXY: "https://proxy.golang.org" | |
run: cd main && go mod tidy && git diff --quiet HEAD | |
- name: Build | |
env: | |
GOPROXY: "https://proxy.golang.org" | |
run: cd main && go build ./... | |
- name: Test | |
env: | |
GOPROXY: "https://proxy.golang.org" | |
run: cd main && go test -v ./... |