From b6750469edf662e522ed03c6918aeff7e6cebebd Mon Sep 17 00:00:00 2001 From: haya14busa Date: Mon, 27 Jan 2020 05:31:38 +0000 Subject: [PATCH] Add redpen test cases for #10 --- .github/workflows/test.yml | 14 ++++++++++++++ testdata/testfile | 4 ++++ 2 files changed, 18 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d3d514a..9d5a1f0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,3 +18,17 @@ jobs: - name: Check diff run: git diff + + needless_prefix: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: ./ + id: depup + with: + file: testdata/testfile + version_name: REDPEN_VERSION + repo: redpen-cc/redpen + + - name: Check diff + run: git diff diff --git a/testdata/testfile b/testdata/testfile index 41bc285..33f8ca0 100644 --- a/testdata/testfile +++ b/testdata/testfile @@ -10,3 +10,7 @@ yaml: The above version should be updated to the latest version with this action. + +Other test cases. + +REDPEN_VERSION=1.10.1