Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config: change default config to use toml-based configuration #131

Merged
merged 7 commits into from
Mar 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .builds/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ tasks:
sudo pacman -Syu --noconfirm
sudo pacman -S --noconfirm rustup libinput pango mesa libxkbcommon xorg-xwayland adwaita-icon-theme libxcursor cmake
rustup toolchain install stable
cd jay
git submodule update --init
- test: |
cd jay
cargo test
31 changes: 31 additions & 0 deletions .github/workflows/toml-spec.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: toml-spec

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:

env:
CARGO_TERM_COLOR: always

jobs:
rustfmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Show env
run: |
uname -a
ldd --version
- name: Install
run: |
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain nightly
rustup toolchain install nightly --allow-downgrade -c rustfmt
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- name: Check
run: |
cd toml-spec
cargo run
git diff --exit-code
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.*
!.gitignore
!.gitmodules
!/.cargo
!/.builds
!/.github
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "toml-config/toml-test"]
path = toml-config/toml-test
url = https://github.com/mahkoh/toml-tests.git
Loading
Loading