Skip to content

Commit 13931c7

Browse files
committed
Merge branch 'template'
2 parents 9933930 + 3bba806 commit 13931c7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/check.yaml

+4-2
Original file line numberDiff line numberDiff line change
@@ -122,12 +122,14 @@ jobs:
122122
shell: bash
123123
run: |
124124
set -ex
125-
grep "Suites: testing" /etc/apt/sources.list.d/debian.sources || exit 0
125+
grep " noble " /etc/apt/sources.list || exit 0
126+
apt install -y debian-archive-keyring
127+
ln -s /usr/share/keyrings/debian-archive-keyring.gpg /etc/apt/trusted.gpg.d/
126128
python3_pycodestyle=$(dpkg-query --showformat='${Version}\n' --show python3-pycodestyle)
127129
python3_flake8=$(dpkg-query --showformat='${Version}\n' --show python3-flake8)
128130
if [[ $python3_pycodestyle == 2.11.* && $python3_flake8 == 5.* ]]; then
129131
echo 'deb https://deb.debian.org/debian unstable main' >/etc/apt/sources.list.d/debian-unstable.list
130-
echo 'APT::Default-Release "testing";' >/etc/apt/apt.conf.d/debian-release
132+
echo 'APT::Default-Release "noble";' >/etc/apt/apt.conf.d/debian-release
131133
apt update
132134
apt install -t unstable -y python3-flake8
133135
fi

0 commit comments

Comments
 (0)