Skip to content

Merge pull request #191 from rancher/dependabot/github_actions/docker… #173

Merge pull request #191 from rancher/dependabot/github_actions/docker…

Merge pull request #191 from rancher/dependabot/github_actions/docker… #173

Workflow file for this run

name: Unit tests
on:
pull_request:
push:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: 1.19.x
- uses: actions/cache@v3.3.1
with:
path: |
~/go/pkg/mod
~/.cache/go-build
key: ${{ runner.os }}-test-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-test-go-${{ hashFiles('**/go.sum') }}
- name: Run tests
run: |
make test