Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gentoolkit:master commit in: .github/workflows/
Date: Mon, 20 Sep 2021 22:58:02
Message-Id: 1632178442.2631b06acb989b291d8beafe4244c6eed8c2aef6.mattst88@gentoo
1 commit: 2631b06acb989b291d8beafe4244c6eed8c2aef6
2 Author: Wolfgang E. Sanyer <WolfgangESanyer <AT> gmail <DOT> com>
3 AuthorDate: Mon Sep 20 13:58:39 2021 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 20 22:54:02 2021 +0000
6 URL: https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=2631b06a
7
8 Add github action to check formatting
9
10 Closes: https://github.com/gentoo/gentoolkit/pull/15
11 Signed-off-by: Wolfgang E. Sanyer <WolfgangESanyer <AT> gmail.com>
12 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
13
14 .github/workflows/black.yml | 10 ++++++++++
15 1 file changed, 10 insertions(+)
16
17 diff --git a/.github/workflows/black.yml b/.github/workflows/black.yml
18 new file mode 100644
19 index 0000000..b04fb15
20 --- /dev/null
21 +++ b/.github/workflows/black.yml
22 @@ -0,0 +1,10 @@
23 +name: Lint
24 +
25 +on: [push, pull_request]
26 +
27 +jobs:
28 + lint:
29 + runs-on: ubuntu-latest
30 + steps:
31 + - uses: actions/checkout@v2
32 + - uses: psf/black@stable