Skip to content
This repository has been archived by the owner on Aug 9, 2023. It is now read-only.

Merge pull request #110 from lunar/add-archive-notice #117

Merge pull request #110 from lunar/add-archive-notice

Merge pull request #110 from lunar/add-archive-notice #117

Workflow file for this run

name: build
on:
push:
branches:
- "master"
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3.1.0
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.17.7
- name: Cache Go modules
uses: actions/cache@v3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Build
run: |
go build ./...
- name: Tests
run: |
go test ./...