Skip to content

Merge pull request #40 from ssbc/dependabot/go_modules/google.golang.… #50

Merge pull request #40 from ssbc/dependabot/go_modules/google.golang.…

Merge pull request #40 from ssbc/dependabot/go_modules/google.golang.… #50

Workflow file for this run

# SPDX-FileCopyrightText: 2021 The margaret Authors
#
# SPDX-License-Identifier: MIT
name: Go
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ^1.16
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Get dependencies
run: go get -v -t -d ./...
- name: Build smoke test
run: go build ./...
- name: Test
run: go test ./...