aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorBobby <[email protected]>2022-11-06 02:07:53 -0500
committerBobby <[email protected]>2022-11-06 02:07:53 -0500
commit17850d731af85d097db4f9c4f117d80bff77ba64 (patch)
treef036eeb9222d40348c35a67d36e6610f2761e57d /.github
parenteb1610e6daaadd6792b4b57e372cf7ea237b949a (diff)
downloadtexty-17850d731af85d097db4f9c4f117d80bff77ba64.tar.xz
texty-17850d731af85d097db4f9c4f117d80bff77ba64.zip
chore: added build workflow
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/texty.yaml28
1 files changed, 28 insertions, 0 deletions
diff --git a/.github/workflows/texty.yaml b/.github/workflows/texty.yaml
new file mode 100644
index 0000000..eed732b
--- /dev/null
+++ b/.github/workflows/texty.yaml
@@ -0,0 +1,28 @@
+# This is a github action to build texty
+# https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions
+
+name: Texty
+on: [push, pull_request]
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - name: Set up Python 3.8
+ uses: actions/setup-python@v1
+ with:
+ python-version: 3.8
+ - name: Run Setup
+ run: |
+ python -m pip install --upgrade pip
+ python setup.py install
+ - name: Run Lint Check
+ run: |
+ python -m pip install black
+ black --check .
+ - name: Run Build
+ run: |
+ python setup.py build
+
+# Path: .github/workflows/texty.yaml
+# This is a github action to build typing \ No newline at end of file