Skip to content

Commit

Permalink
config: change default config to use toml-based configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
mahkoh committed Mar 15, 2024
1 parent 498c48a commit a795a31
Show file tree
Hide file tree
Showing 56 changed files with 13,839 additions and 137 deletions.
1 change: 1 addition & 0 deletions .builds/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ 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
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

0 comments on commit a795a31

Please sign in to comment.