Skip to content

Commit

Permalink
Render template ../cookiecutter-python-cli at cdc1a35d81
Browse files Browse the repository at this point in the history
  • Loading branch information
liskin committed Feb 14, 2024
1 parent 9d6f667 commit 3bba806
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -122,12 +122,14 @@ jobs:
shell: bash
run: |
set -ex
grep "Suites: testing" /etc/apt/sources.list.d/debian.sources || exit 0
grep " noble " /etc/apt/sources.list || exit 0
apt install -y debian-archive-keyring
ln -s /usr/share/keyrings/debian-archive-keyring.gpg /etc/apt/trusted.gpg.d/
python3_pycodestyle=$(dpkg-query --showformat='${Version}\n' --show python3-pycodestyle)
python3_flake8=$(dpkg-query --showformat='${Version}\n' --show python3-flake8)
if [[ $python3_pycodestyle == 2.11.* && $python3_flake8 == 5.* ]]; then
echo 'deb https://deb.debian.org/debian unstable main' >/etc/apt/sources.list.d/debian-unstable.list
echo 'APT::Default-Release "testing";' >/etc/apt/apt.conf.d/debian-release
echo 'APT::Default-Release "noble";' >/etc/apt/apt.conf.d/debian-release
apt update
apt install -t unstable -y python3-flake8
fi
Expand Down

0 comments on commit 3bba806

Please sign in to comment.