From dd774aad427bc7df0936717d7365dace126237cc Mon Sep 17 00:00:00 2001 From: Joris Conijn Date: Mon, 6 Mar 2023 10:15:21 +0100 Subject: [PATCH] chore: remove deprecated functionality (#125) **Issue #, if available:** N/A ## Description of changes: Replace deprecated functionality with the newer version. **Checklist** * [x] Update tests * [x] Update docs * [x] PR title follows [conventional commit semantics](https://www.conventionalcommits.org/en/v1.0.0-beta.2/#commit-message-for-a-fix-using-an-optional-issue-number) By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice. --- .github/workflows/ci.yml | 4 ++++ .github/workflows/release.yml | 10 +++++----- pyproject.toml | 2 +- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9459c7e..609f160 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,6 +30,10 @@ jobs: path: ~/.cache/pypoetry/virtualenvs key: ${{ runner.os }}-poetry-${{ hashFiles('poetry.lock') }} - run: poetry --version + - name: Prepare variables + id: vars + run: | + echo "version=$(awk '/version/{print $NF}' pyproject.toml | sed 's/\"//g')" >> $GITHUB_OUTPUT - name: Install dependencies run: make install - name: Run check diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6bf8676..942443a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,18 +15,18 @@ jobs: uses: actions/setup-python@v2 with: python-version: 3.9 - - name: Prepare variables - id: vars - run: | - echo ::set-output name=version::$(awk '/version/{print $NF}' pyproject.toml | sed 's/\"//g') - uses: Gr1N/setup-poetry@v8 with: - poetry-version: "1.4.0" + poetry-version: 1.4.0 - uses: actions/cache@v2 with: path: ~/.cache/pypoetry/virtualenvs key: ${{ runner.os }}-poetry-${{ hashFiles('poetry.lock') }} - run: poetry --version + - name: Prepare variables + id: vars + run: | + echo "version=$(awk '/version/{print $NF}' pyproject.toml | sed 's/\"//g')" >> $GITHUB_OUTPUT - name: Install dependencies run: make install - name: Run check diff --git a/pyproject.toml b/pyproject.toml index b8b90c9..8e248f9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "pull-request-codecommit" -version = "0.5.0" +version = "0.5.1" description = "pull-request-codecommit creates a PR within CodeCommit based on your commit messages." authors = ["Joris Conijn "] license = "MIT"