mirror of
https://github.com/mgechev/revive.git
synced 2024-11-24 08:32:22 +02:00
Add build and test steps in CI on pull request (#602)
This commit is contained in:
parent
3f99b6ceb1
commit
0ee7866c45
20
.github/workflows/build-test.yaml
vendored
Normal file
20
.github/workflows/build-test.yaml
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
name: Build and Test
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, edited, synchronize, reopened]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: build
|
||||
run: make build
|
||||
test:
|
||||
name: Test
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: test
|
||||
run: make test
|
Loading…
Reference in New Issue
Block a user