Skip to content

Merge pull request #7 from salemove/add-contributing-file #27

Merge pull request #7 from salemove/add-contributing-file

Merge pull request #7 from salemove/add-contributing-file #27

Workflow file for this run

name: Run tests
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18
- name: Build
run: go build -v ./...
- name: Check formatting
run: files=$(gofmt -l .) && [ -z "$files" ]
- name: Test
run: go test -v ./...