aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorpml68 <contact@pml68.dev>2025-01-13 00:53:05 +0100
committerpml68 <contact@pml68.dev>2025-01-13 00:53:41 +0100
commite0ccef4781d8c136a71c55db1129a7bccdd4f860 (patch)
treea41b2bb48fe1cba56756a7ea50dd3396775f51de /.github
parentrefactor: apply clippy suggestions (diff)
downloadiced_custom_highlighter-e0ccef4781d8c136a71c55db1129a7bccdd4f860.tar.gz
ci: add lint workflow
Diffstat (limited to '')
-rw-r--r--.github/workflows/lint.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
new file mode 100644
index 0000000..76bc0c3
--- /dev/null
+++ b/.github/workflows/lint.yml
@@ -0,0 +1,17 @@
+name: Lint
+on: [push, pull_request]
+jobs:
+ lint:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: hecrj/setup-rust-action@v2
+ with:
+ components: clippy
+ - uses: actions/checkout@master
+ - name: Install dependencies
+ run: |
+ export DEBIAN_FRONTED=noninteractive
+ sudo apt-get -qq update
+ sudo apt-get install -y libxkbcommon-dev
+ - name: Check lints
+ run: cargo lint