Skip to content

Commit

Permalink
Chore: CI
Browse files Browse the repository at this point in the history
  • Loading branch information
bitbrain-za committed Oct 22, 2023
1 parent 23943f0 commit fee96b1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
on: [push, pull_request]

name: CI
name: Continuous integration

jobs:
check:
Expand All @@ -16,7 +16,6 @@ jobs:
- uses: actions-rs/cargo@v1
with:
command: check
args: --all-features

test:
name: Test Suite
Expand All @@ -28,11 +27,9 @@ jobs:
profile: minimal
toolchain: stable
override: true
- run: sudo apt-get install libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libxkbcommon-dev libssl-dev
- uses: actions-rs/cargo@v1
with:
command: test
args: --lib

fmt:
name: Rustfmt
Expand All @@ -44,7 +41,7 @@ jobs:
profile: minimal
toolchain: stable
override: true
components: rustfmt
- run: rustup component add rustfmt
- uses: actions-rs/cargo@v1
with:
command: fmt
Expand All @@ -60,7 +57,7 @@ jobs:
profile: minimal
toolchain: stable
override: true
components: clippy
- run: rustup component add clippy
- uses: actions-rs/cargo@v1
with:
command: clippy
Expand Down
Empty file.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
![MIT license](https://img.shields.io/github/license/bitbrain-za/judge)
[![dependency status](https://deps.rs/repo/github/bitbrain-za/judge/status.svg)](https://deps.rs/repo/github/bitbrain-za/judge)
[![Build Status](https://github.com/bitbrain-za/judge/workflows/CI/badge.svg)](https://github.com/bitbrain-za/judge/actions?workflow=CI)

Expand Down

0 comments on commit fee96b1

Please sign in to comment.