Skip to content

Merge pull request #20 from deining/fix-restore-cache-failed-warning #41

Merge pull request #20 from deining/fix-restore-cache-failed-warning

Merge pull request #20 from deining/fix-restore-cache-failed-warning #41

Workflow file for this run

name: test
on:
push:
paths-ignore:
- "**.md"
- "LICENSE"
- "didder.1"
pull_request:
paths-ignore:
- "**.md"
- "LICENSE"
- "didder.1"
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
go-version: ["1.20", "1.21"]
steps:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
cache: true
cache-dependency-path: '**/go.sum'
- name: Checkout code
uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Test
run: make