mirror of https://github.com/perkeep/perkeep.git
33 lines
649 B
YAML
33 lines
649 B
YAML
on:
|
|
push:
|
|
branches:
|
|
- "master"
|
|
pull_request:
|
|
# all PRs on all branches
|
|
name: "tests/windows"
|
|
|
|
jobs:
|
|
test:
|
|
strategy:
|
|
matrix:
|
|
go-version: [1.21.x]
|
|
platform: [windows-latest]
|
|
runs-on: ${{ matrix.platform }}
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-go@v5
|
|
with:
|
|
go-version: ${{ matrix.go-version }}
|
|
|
|
- uses: actions/cache@v3
|
|
with:
|
|
path: ~\go\pkg\mod
|
|
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
|
|
restore-keys: ${{ runner.os }}-go-
|
|
|
|
- name: Build and test
|
|
run: |
|
|
go run make.go -v
|
|
devcam test
|