2019-12-06 17:50:05 -08:00
|
|
|
on: [pull_request]
|
|
|
|
name: goimagehash workflow
|
|
|
|
jobs:
|
|
|
|
test:
|
|
|
|
strategy:
|
|
|
|
matrix:
|
2022-05-26 06:58:40 -07:00
|
|
|
go-version: [1.11.x, 1.12.x, 1.13.x, 1.14.x, 1.15.x, 1.16.x, 1.17.x, 1.18.x]
|
2019-12-06 17:50:05 -08:00
|
|
|
platform: [ubuntu-latest, macos-latest, windows-latest]
|
|
|
|
runs-on: ${{ matrix.platform }}
|
|
|
|
steps:
|
|
|
|
- name: Install Go
|
|
|
|
uses: actions/setup-go@v1
|
|
|
|
with:
|
|
|
|
go-version: ${{ matrix.go-version }}
|
|
|
|
- name: Checkout code
|
|
|
|
uses: actions/checkout@v1
|
|
|
|
with:
|
|
|
|
path: src/github.com/corona10/goimagehash
|
|
|
|
|
|
|
|
- name: Test
|
|
|
|
run: go test ./...
|