Skip to content

Merge pull request #85 from Norsk-Tipping/feature/ignore_missing_env #325

Merge pull request #85 from Norsk-Tipping/feature/ignore_missing_env

Merge pull request #85 from Norsk-Tipping/feature/ignore_missing_env #325

Workflow file for this run

on: [push, pull_request]
name: Test
jobs:
test:
strategy:
matrix:
go-version: [1.16.x]
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v3
-
name: Go modules cache
uses: actions/cache@v3
with:
path: |
~/go/pkg/mod
~/.cache/go-build
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Test
run: go mod tidy && go test ./...