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-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/.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 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