Skip to content

Merge pull request #19 from deining/bump-github-workflows #38

Merge pull request #19 from deining/bump-github-workflows

Merge pull request #19 from deining/bump-github-workflows #38

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 }}
- 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