mirror of
https://github.com/elkowar/eww.git
synced 2024-10-26 21:34:19 +03:00
Use stable rust in CI
This commit is contained in:
parent
9ca98448cc
commit
091b630072
33
.github/workflows/build.yml
vendored
33
.github/workflows/build.yml
vendored
@ -1,8 +1,8 @@
|
|||||||
name: build
|
name: build
|
||||||
|
|
||||||
on:
|
on:
|
||||||
#push:
|
push:
|
||||||
#branches: [master]
|
branches: [master]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [master]
|
branches: [master]
|
||||||
|
|
||||||
@ -15,24 +15,31 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: sudo apt-get update && sudo apt-get install libgtk-3-dev libgtk-layer-shell-dev
|
run: sudo apt-get update && sudo apt-get install libgtk-3-dev libgtk-layer-shell-dev
|
||||||
- name: Set up
|
|
||||||
uses: actions-rs/toolchain@v1
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Setup rust
|
||||||
|
uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
with:
|
||||||
toolchain: nightly
|
components: clippy,rustfmt
|
||||||
override: true
|
|
||||||
components: rustfmt
|
- name: Load rust cache
|
||||||
- uses: actions/checkout@v2
|
uses: Swatinem/rust-cache@v2
|
||||||
- uses: Swatinem/rust-cache@v1
|
|
||||||
- uses: r7kamura/rust-problem-matchers@v1
|
- name: Setup problem matchers
|
||||||
|
uses: r7kamura/rust-problem-matchers@v1
|
||||||
|
|
||||||
- name: Check formatting
|
- name: Check formatting
|
||||||
run: cargo fmt -- --check
|
run: cargo fmt -- --check
|
||||||
- name: Check with default features
|
- name: Check with default features
|
||||||
run: cargo check
|
run: cargo check
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: cargo test
|
run: cargo test
|
||||||
- name: Build x11 only
|
|
||||||
|
- name: Check x11 only
|
||||||
run: cargo check --no-default-features --features=x11
|
run: cargo check --no-default-features --features=x11
|
||||||
- name: Build wayland only
|
- name: Check wayland only
|
||||||
run: cargo check --no-default-features --features=wayland
|
run: cargo check --no-default-features --features=wayland
|
||||||
- name: Build no-backend
|
- name: Check no-backend
|
||||||
run: cargo check --no-default-features
|
run: cargo check --no-default-features
|
||||||
|
@ -28,6 +28,7 @@ All notable changes to eww will be listed here, starting at changes since versio
|
|||||||
- Add support for multiple matchers in `monitor` field
|
- Add support for multiple matchers in `monitor` field
|
||||||
- Add `stack` widget (By: vladaviedov)
|
- Add `stack` widget (By: vladaviedov)
|
||||||
- Add `unindent` property to the label widget, allowing to disable removal of leading spaces (By: nrv)
|
- Add `unindent` property to the label widget, allowing to disable removal of leading spaces (By: nrv)
|
||||||
|
- Switch to stable rust toolchain (1.76)
|
||||||
|
|
||||||
## [0.4.0] (04.09.2022)
|
## [0.4.0] (04.09.2022)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user