1
0
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:
doniacld 2021-10-18 19:27:26 +02:00 committed by GitHub
parent 3f99b6ceb1
commit 0ee7866c45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

20
.github/workflows/build-test.yaml vendored Normal file
View 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