1
0
mirror of https://github.com/mxpv/podsync.git synced 2024-05-11 05:55:04 +00:00

Add Github Actions CI script

This commit is contained in:
Maksym Pavlenko
2019-11-15 23:11:17 -08:00
parent 2644de9148
commit bcf1f3e042
4 changed files with 52 additions and 3 deletions

48
.github/workflows/ci.yml vendored Normal file
View File

@@ -0,0 +1,48 @@
name: CI
on: [push, pull_request]
jobs:
build:
name: Build
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- name: Install Go
uses: actions/setup-go@v1
with:
go-version: 1.12
- name: Checkout
uses: actions/checkout@v1
- name: Build
run: |
make build
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v1
with:
go-version: 1.12
- name: Checkout
uses: actions/checkout@v1
- name: Test
run: |
make test
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v1
with:
go-version: 1.12
- name: Checkout
uses: actions/checkout@v1
- name: Lint
run: |
make lint