Skip to content

Commit

Permalink
update github ci
Browse files Browse the repository at this point in the history
  • Loading branch information
larry0x committed Jun 8, 2023
1 parent 65fc74d commit ffbe9c2
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,35 @@
on: push
name: Go

on: push

jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3

- name: Install Go
uses: actions/setup-go@v3
with:
go-version: 1.19
go-version: '1.20'

- name: Run tests
run: make test

lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v3

- name: Install Go
uses: actions/setup-go@v3
with:
go-version: 1.19
go-version: '1.20'

- name: Lint
uses: golangci/[email protected]
with:
Expand Down

0 comments on commit ffbe9c2

Please sign in to comment.