Skip to content

Merge pull request #79 from Saza-ku/fix/config #68

Merge pull request #79 from Saza-ku/fix/config

Merge pull request #79 from Saza-ku/fix/config #68

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
jobs:
test:
name: Test
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
go:
- "1.18"
steps:
- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: restore cache
uses: actions/cache@v2
with:
path: ~/go/pkg/mod
key: ${{ matrix.os }}-go-${{ matrix.go }}-${{ hashFiles('go.sum') }}
restore-keys: |
${{ matrix.os }}-go-${{ matrix.go }}-
- name: Test
run: go test -v ./...