Skip to content

Update authors.yml #627

Update authors.yml

Update authors.yml #627

name: Check Go Build
# This workflow posts hasura changes as a comment.
on:
pull_request:
paths:
- '**.go'
- go.mod
- go.sum
push:
branches:
- master
jobs:
build:
strategy:
matrix:
go:
- '1.18'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
cache: true
- name: Setup Golang caches
uses: actions/cache@v3
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-golang-${{ matrix.go }}-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-golang-${{ matrix.go }}-
- name: go build
run: go build ./...