From 06537dd0a515268e0d3edd8ba2d8a09d20e69c5f Mon Sep 17 00:00:00 2001 From: Tsuyoshi CHO Date: Sun, 14 Feb 2021 13:57:41 +0900 Subject: [PATCH] Add tag checker test --- .github/workflows/test.yml | 15 +++++++++++++++ testdata/testfile | 2 ++ 2 files changed, 17 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 296b616..6f0b26d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -61,3 +61,18 @@ jobs: - name: Check diff run: git diff + + tagged_version: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: ./ + id: depup + with: + file: testdata/testfile + version_name: THEMIS_VERSION + repo: thinca/vim-themis + tag: true + + - name: Check diff + run: git diff diff --git a/testdata/testfile b/testdata/testfile index 3d1c073..2e9cf8e 100644 --- a/testdata/testfile +++ b/testdata/testfile @@ -39,3 +39,5 @@ TMUX_VERSION=3.0 POETRY_VERSION="1.1.3" ENV POETRY_VERSION='1.1.3' + +THEMIS_VERSION=1.5