Skip to content

Commit 770f7e3

Browse files
committed
install pre-commit before running in CI
1 parent 83e70df commit 770f7e3

File tree

2 files changed

+29
-29
lines changed

2 files changed

+29
-29
lines changed

.github/workflows/ci.yml

+1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,5 @@ jobs:
1818

1919
- name: Run linting
2020
run: |
21+
pipx install pre-commit
2122
pre-commit run --all-files

config.yml

+28-29
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ dists:
55
-
66
version_id: "22.04"
77
version_name: "jammy"
8-
-
9-
version_id: "20.04"
10-
version_name: "focal"
8+
# -
9+
# version_id: "20.04"
10+
# version_name: "focal"
1111
repos:
1212
DEFREPO:
1313
archive: "http://archive.ubuntu.com/ubuntu/dists/$version_name/"
@@ -21,31 +21,30 @@ dists:
2121
backports:
2222
archive: "http://archive.ubuntu.com/ubuntu/dists/$version_name-backports/"
2323
areas: ["main", "universe", "multiverse", "restricted"]
24-
vscode:
25-
archive: "https://packages.microsoft.com/repos/vscode/dists/stable/"
26-
areas: ["main"]
24+
# vscode:
25+
# archive: "https://packages.microsoft.com/repos/vscode/dists/stable/"
26+
# areas: ["main"]
2727

28-
fedora:
29-
pm_type: "dnf"
30-
versions:
31-
- version_id: "37"
32-
- version_id: "36"
33-
repos:
34-
DEFREPO:
35-
archive: "https://mirrors.edge.kernel.org/fedora/releases/$version_id/Everything/x86_64/os/"
36-
updates:
37-
archive: "https://mirrors.edge.kernel.org/fedora/updates/$version_id/Everything/x86_64/"
38-
google_chrome:
39-
version_agnostic: true
40-
archive: "https://dl.google.com/linux/chrome/rpm/stable/x86_64/"
28+
# fedora:
29+
# pm_type: "dnf"
30+
# versions:
31+
# - version_id: "37"
32+
# - version_id: "36"
33+
# repos:
34+
# DEFREPO:
35+
# archive: "https://mirrors.edge.kernel.org/fedora/releases/$version_id/Everything/x86_64/os/"
36+
# updates:
37+
# archive: "https://mirrors.edge.kernel.org/fedora/updates/$version_id/Everything/x86_64/"
38+
# google_chrome:
39+
# version_agnostic: true
40+
# archive: "https://dl.google.com/linux/chrome/rpm/stable/x86_64/"
4141

42-
archlinux:
43-
pm_type: "pacman"
44-
archive: "https://mirror.cyberbits.eu/archlinux/$repo/os/x86_64/"
45-
repos:
46-
core: {}
47-
community: {}
48-
extra: {}
49-
arch4edu:
50-
archive: "https://mirror.lesviallon.fr/arch4edu/x86_64/"
51-
42+
# archlinux:
43+
# pm_type: "pacman"
44+
# archive: "https://mirror.cyberbits.eu/archlinux/$repo/os/x86_64/"
45+
# repos:
46+
# core: {}
47+
# community: {}
48+
# extra: {}
49+
# arch4edu:
50+
# archive: "https://mirror.lesviallon.fr/arch4edu/x86_64/"

0 commit comments

Comments
 (0)