From 6dfbcd749e2b43b80fbdb0a018754480515e246e Mon Sep 17 00:00:00 2001 From: Alexandre Trendel Date: Mon, 28 Dec 2020 18:23:01 +0100 Subject: [PATCH] minor changes --- .github/workflows/{ci.yml => spot-quality.yml} | 4 ++-- README.md | 4 +++- rustfmt.toml | 3 +++ 3 files changed, 8 insertions(+), 3 deletions(-) rename .github/workflows/{ci.yml => spot-quality.yml} (90%) create mode 100644 rustfmt.toml diff --git a/.github/workflows/ci.yml b/.github/workflows/spot-quality.yml similarity index 90% rename from .github/workflows/ci.yml rename to .github/workflows/spot-quality.yml index 3728392e..86f1f4f2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/spot-quality.yml @@ -1,4 +1,4 @@ -name: spot +name: spot-quality on: push: @@ -6,7 +6,7 @@ on: jobs: ci-check: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v2 - name: Install Rust toolchain diff --git a/README.md b/README.md index 78db467f..623c8ae0 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,9 @@ Should be as simple as opening the project and hitting run :) ### Manually -Requires Rust (stable), GTK3, and a couple other things. See for instance this [Dockerfile](.github/actions/test/Dockerfile) for dependencies required in Fedora 33. +Requires Rust (stable), GTK3, and a couple other things. + +**Build** dependencies on Ubuntu 20.04 for instance: ```build-essential pkg-config meson libssl-dev libglib2.0-dev-bin libgtk-3-dev libasound2-dev libpulse-dev```. Then, with meson: diff --git a/rustfmt.toml b/rustfmt.toml new file mode 100644 index 00000000..d615de96 --- /dev/null +++ b/rustfmt.toml @@ -0,0 +1,3 @@ +#use_small_heuristics = "Max" +newline_style = "Unix" +use_field_init_shorthand = true \ No newline at end of file