From 868716f5b0da48062d79f712e217edcdf5f37b7e Mon Sep 17 00:00:00 2001 From: Jennifer Power Date: Fri, 13 Sep 2024 15:37:44 -0400 Subject: [PATCH 1/2] fix: updates build command to install deps into container (#55) Signed-off-by: Jennifer Power --- .github/workflows/python-push.yml | 8 -------- pyproject.toml | 5 ++++- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/python-push.yml b/.github/workflows/python-push.yml index b3f9e40..46e9828 100644 --- a/.github/workflows/python-push.yml +++ b/.github/workflows/python-push.yml @@ -91,14 +91,6 @@ jobs: submodules: true fetch-depth: 0 token: ${{ secrets.ADMIN_PAT }} - - name: Set up Python 3.11 - uses: actions/setup-python@v5 - with: - python-version: 3.11 - - name: Install build tools - run: | - make develop - # This action uses Python Semantic Release v8 - name: Python Semantic Release id: release diff --git a/pyproject.toml b/pyproject.toml index 648fdfe..6fe6042 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,7 +13,10 @@ testpaths = [ ] [tool.semantic_release] -build_command = "python setup.py sdist bdist_wheel" +build_command = """ + python -m pip install -e .[dev] --upgrade --upgrade-strategy eager -- + python setup.py sdist bdist_wheel +""" version_variables = ["trestle_fedramp/__init__.py:__version__"] commit_author = "semantic-release " major_on_zero = false From ba4e976fb2ca1ebf2e5eefa60d4a228c565b7dea Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 13 Sep 2024 15:40:23 -0400 Subject: [PATCH 2/2] build(deps): bump actions/checkout from 2 to 4 (#51) Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/conventional-pr.yml | 2 +- .github/workflows/python-test.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/conventional-pr.yml b/.github/workflows/conventional-pr.yml index 7218421..94fbbdd 100644 --- a/.github/workflows/conventional-pr.yml +++ b/.github/workflows/conventional-pr.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Install dependencies run: npm install @commitlint/cli @commitlint/config-conventional diff --git a/.github/workflows/python-test.yml b/.github/workflows/python-test.yml index b54b450..7758329 100644 --- a/.github/workflows/python-test.yml +++ b/.github/workflows/python-test.yml @@ -105,7 +105,7 @@ jobs: - name: Don't mess with line endings run: | git config --global core.autocrlf false - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: fetch-depth: 0 submodules: true