Skip to content

Allow setting of image for block rync (#123) #340

Allow setting of image for block rync (#123)

Allow setting of image for block rync (#123) #340

Workflow file for this run

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 ./...