Merge branch 'master' into improve_version_syntax_parsing

This commit is contained in:
haya14busa
2020-12-13 13:59:33 +09:00
committed by GitHub
2 changed files with 18 additions and 0 deletions

View File

@@ -4,6 +4,7 @@ on:
branches: branches:
- master - master
pull_request: pull_request:
workflow_dispatch:
jobs: jobs:
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -46,3 +47,17 @@ jobs:
- name: Check diff - name: Check diff
run: git diff run: git diff
quoted_version:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ./
id: depup
with:
file: testdata/testfile
version_name: POETRY_VERSION
repo: python-poetry/poetry
- name: Check diff
run: git diff

3
testdata/testfile vendored
View File

@@ -36,3 +36,6 @@ Other test cases.
REDPEN_VERSION=1.10.1 REDPEN_VERSION=1.10.1
TMUX_VERSION=3.0 TMUX_VERSION=3.0
POETRY_VERSION="1.1.3"
ENV POETRY_VERSION='1.1.3'