Skip to content

Commit

Permalink
Update dependencies (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
arneso-ssb authored Jan 4, 2024
1 parent ade308e commit c746805
Show file tree
Hide file tree
Showing 6 changed files with 183 additions and 181 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/constraints.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pip==23.3.1
pip==23.3.2
cookiecutter==2.5.0
cutty==0.18.0
nox==2023.4.22
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pip==23.3.1
pip==23.3.2
nox==2023.4.22
nox-poetry==1.0.3
poetry==1.7.1
Expand Down
4 changes: 2 additions & 2 deletions {{cookiecutter.project_name}}/.github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
poetry run sphinx-build -W docs docs/_build
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
uses: actions/upload-pages-artifact@v3
with:
path: "docs/_build"

Expand All @@ -64,4 +64,4 @@ jobs:

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v3
uses: actions/deploy-pages@v4
4 changes: 2 additions & 2 deletions {{cookiecutter.project_name}}/.github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
bash -o pipefail -c "poetry version | cut -f 2 -d' '"
- name: Bump version for developmental release
if: "! steps.check-version.outputs.tag"
if: (!steps.check-version.outputs.tag)
run: |
poetry version patch &&
version=$(poetry version | awk '{ print $2 }') &&
Expand All @@ -64,7 +64,7 @@ jobs:
uses: pypa/[email protected]

- name: Publish package on TestPyPI
if: "! steps.check-version.outputs.tag"
if: (!steps.check-version.outputs.tag)
uses: pypa/[email protected]
with:
repository-url: https://test.pypi.org/legacy/
Expand Down
11 changes: 6 additions & 5 deletions {{cookiecutter.project_name}}/.github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,14 +98,14 @@ jobs:
- name: Upload coverage data
if: always() && matrix.session == 'tests'
uses: "actions/upload-artifact@v3"
uses: "actions/upload-artifact@v4"
with:
name: coverage-data
path: ".coverage.*"

- name: Upload documentation
if: matrix.session == 'docs-build'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: docs
path: docs/_build
Expand Down Expand Up @@ -141,9 +141,10 @@ jobs:
nox --version
- name: Download coverage data
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: coverage-data
pattern: coverage-data-*
merge-multiple: true

- name: Combine coverage data and display human readable report
run: |
Expand All @@ -164,4 +165,4 @@ jobs:
SONAR_TOKEN: {{ "${{ secrets.SONAR_TOKEN }}" }}
# No need to run SonarCloud analysis if dependabot update or token not defined
if: env.SONAR_TOKEN != '' && (github.actor != 'dependabot[bot]')
uses: SonarSource/[email protected].0
uses: SonarSource/[email protected].1
Loading

0 comments on commit c746805

Please sign in to comment.