lemurs/.github/workflows/rust.yml
Gijs Burghoorn e46dd7c890
Next version (#42)
* Add maximum width option to input fields (#41)

* Add maximum width option to input fields
* Format input field code

* Fix crash when no graphical environment is specified (#43)

* Catch errors in shutdown and reboot scripts (#45)

* Set PWD upon logging in (#48)

* Set PWD upon logging in
* Fix formatting

* Load the /etc/lemurs/config.toml file (#49)

* Load the /etc/lemurs/config.toml file
* Formatting config.rs

* Load the /etc/lemurs/config.toml file

* Isolate and improve environment variables (#53)

Add the XDG environment variables and isolate the setting of environment
variables to their own module. The TTY is now also settable from the
`config.toml`.

* Add an option to remember the username from the last login (#55)

* Add option to remember the username in /var/cache
* Formatting

* Remove mouse capture (#56)

* Improve install script (#58)

* Change configuration to extend default configuration (#57)

* Change configuration to extend default configuration
* Formatting

* Remove test workflow

* Massively cleanup, small improvements and improve the logging (#60)

- Log path moved from `/tmp/lemurs.log` to `/var/log/lemurs.log`
- Add the `--no-log` flag
- Move the preview log file from `out.log` to `lemurs.log`
- Handle tty switching errors
- Change name config section `wm_selector` to `environment_switcher`
- Change the pam service used from `login` to `system-login`
- Separate all authentication and environment starting logic from the UI logic
- Properly handle X starting errors
- Create an event handling thread so that status messages can now be displayed while processing

* Properly set groups when logging in with X (#72)

* Fix installation file

* Remove creation of Xauthority file

* Dynamically wait for X to start

* Add feature(set_groups)

* Change back to 'login' auth

* Update Cargo.lock

* Update README.md file

* Version bump

* Remove unused code

* Remove unwraps

* Update Cargo.lock

* Fix shared state and InputField

* Fix input box

* Clippy warnings

* Make waiting dependent on time instead of loop count
2022-07-30 19:41:41 +02:00

50 lines
No EOL
1.1 KiB
YAML

on: [push, pull_request]
name: Continuous integration
jobs:
check:
name: Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: actions-rs/cargo@v1
with:
command: check
fmt:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- run: rustup component add rustfmt
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- run: rustup component add clippy
- uses: actions-rs/cargo@v1
with:
command: clippy
args: -- -D warnings