Skip to content

Merge pull request #82 from LayerXcom/renovate/actions-checkout-4.x #80

Merge pull request #82 from LayerXcom/renovate/actions-checkout-4.x

Merge pull request #82 from LayerXcom/renovate/actions-checkout-4.x #80

Workflow file for this run

name: Run tests
on: [push]
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Setup go
uses: actions/setup-go@bfdd3570ce990073878bf10f6b2d79082de49492 # v2.2.0
with:
go-version: "1.16"
- uses: actions/cache@26968a09c0ea4f3e233fdddbafd1166051a095f6 # v2.1.4
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-gomod-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-gomod-
- name: Run go tests
run: go test -race -failfast ./...