Skip to content

Commit

Permalink
Replace builds.sr.ht with GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jplatte committed Sep 16, 2021
1 parent c082e8e commit 5916a6e
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 14 deletions.
14 changes: 0 additions & 14 deletions .build.yml

This file was deleted.

33 changes: 33 additions & 0 deletions .github/workflows/rust.yml
@@ -0,0 +1,33 @@
name: Rust

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
default: true
profile: minimal
components: rustfmt, clippy
- name: cargo check
uses: actions-rs/cargo@v1
with:
command: check
- name: cargo fmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: -- --check
- name: cargo clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: --all-targets -- -D warnings

0 comments on commit 5916a6e

Please sign in to comment.