Skip to content

Commit

Permalink
[fix] (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
ningenMe authored Jul 22, 2021
1 parent 48f97f8 commit 66a2a21
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 2 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/ci-main.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: ci

on:
push:
branches: [ main ]

jobs:

build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.16

- name: Build
run: go build -v ./...

- name: Test
run: go test -v ./...
2 changes: 0 additions & 2 deletions .github/workflows/ci.yaml → .github/workflows/ci-pull.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: ci

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

Expand Down

0 comments on commit 66a2a21

Please sign in to comment.