mirror of
https://github.com/itchyny/mmv.git
synced 2025-12-26 22:24:58 +08:00
24 lines
508 B
YAML
24 lines
508 B
YAML
name: CI
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
test:
|
|
name: Test
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
|
steps:
|
|
- uses: actions/checkout@master
|
|
- name: Setup Go
|
|
uses: actions/setup-go@v1
|
|
with:
|
|
go-version: 1.x
|
|
- name: Test
|
|
run: make test
|
|
- name: Lint
|
|
run: |
|
|
export PATH=$PATH:$(go env GOPATH)/bin # will be removed
|
|
make lint
|
|
if: matrix.os != 'windows-latest'
|