Skip to content

Merge pull request #255 from wttech/empty-lines #1081

Merge pull request #255 from wttech/empty-lines

Merge pull request #255 from wttech/empty-lines #1081

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
name: Test
runs-on: ubuntu-latest
# env:
# GOFLAGS: -mod=vendor
# GOPROXY: "off"
steps:
- name: Cache Go modules
uses: actions/cache@v2
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '1.20'
id: go
- name: Checkout source code
uses: actions/checkout@v3
- name: Run build
run: make