Skip to content

Commit

Permalink
update GitHub workflow actions versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeitsperre committed Dec 20, 2023
1 parent e92a957 commit 24992f2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build ⚙️
name: Build ⚙️

on:
push:
Expand All @@ -22,21 +22,22 @@ jobs:
python-version: "pypy-3.7"
steps:
- name: Cancel previous runs
uses: styfle/cancel-workflow-action@0.9.1
uses: styfle/cancel-workflow-action@0.12.0
with:
access_token: ${{ github.token }}
- name: Checkout repository and submodules
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install packages
run: |
sudo apt-get -y install pandoc
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install tox
run: pip install tox
run: |
pip install tox
- name: Test with pytest and tox ⚙️
run: tox -e ${{ matrix.tox-env }}
1 change: 0 additions & 1 deletion {{cookiecutter.project_slug}}/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ commands = flake8 {{ cookiecutter.project_slug }} tests
[testenv]
setenv =
PYTHONPATH = {toxinidir}
CRYPTOGRAPHY_DONT_BUILD_RUST = 1
install_command = python -m pip install --no-user {opts} {packages}
download = True
{% if cookiecutter.use_pytest == 'y' -%}
Expand Down

0 comments on commit 24992f2

Please sign in to comment.