Create ci.yml

This commit is contained in:
ByteDream 2022-04-16 01:59:34 +02:00 committed by GitHub
parent 9ccd1ed93c
commit a98eb56fba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

22
.github/workflows/ci.yml vendored Normal file
View file

@ -0,0 +1,22 @@
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.16
- name: Build
run: go build -v cmd/crunchyroll-go/main.go
- name: Test
run: go test -v cmd/crunchyroll-go/main.go