Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Allenxuxu authored Sep 23, 2019
1 parent bfd4a24 commit b7b426d
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,6 @@
name: CI
on: [push,pull_request]
jobs:
lint:
name: Lint
runs-on: ubuntu-18.04
steps:
- name: Set up Go 1.12
uses: actions/setup-go@v1
with:
go-version: 1.12
id: go
- name: Code
uses: actions/checkout@v1
- name: Intsall Golangci-lint
run: curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b . latest
- name: Lint
run: ./golangci-lint run ./...

jobs:
test:
name: Unit Testing
runs-on: ${{ matrix.os }}
Expand Down

0 comments on commit b7b426d

Please sign in to comment.