Skip to content

Commit

Permalink
CI: Run ./lint.sh
Browse files Browse the repository at this point in the history
Signed-off-by: Alberto Faria <[email protected]>
  • Loading branch information
albertofaria committed Apr 22, 2024
1 parent ccbea36 commit 8148bc7
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 29 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Lint

on:
- pull_request
- push

jobs:

lint:
name: Rust ${{ matrix.rust }}
runs-on: ubuntu-latest
strategy:
matrix:
rust: [ stable, "1.74" ]
steps:

- uses: actions/checkout@v4

- name: Set Rust version
run: rustup default ${{ matrix.rust }}

- name: Install cargo-fmt and cargo-clippy
run: rustup component add rustfmt clippy

- name: Lint
run: ./lint.sh
29 changes: 0 additions & 29 deletions .gitlab-ci.yml

This file was deleted.

0 comments on commit 8148bc7

Please sign in to comment.