Add test workflow
This commit is contained in:
6
.github/workflows/dockerimage.yml
vendored
6
.github/workflows/dockerimage.yml
vendored
@@ -1,5 +1,9 @@
|
||||
name: Docker Image CI
|
||||
on: [push]
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
20
.github/workflows/test.yml
vendored
Normal file
20
.github/workflows/test.yml
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
name: Test
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: ./
|
||||
id: autobump
|
||||
with:
|
||||
file: testdata/testfile
|
||||
version_name: REVIEWDOG_VERSION
|
||||
repo: reviewdog/reviewdog
|
||||
|
||||
- name: Check diff
|
||||
run: git diff
|
||||
Reference in New Issue
Block a user