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

Add badge for minimum rustc version #23

Merged
merged 7 commits into from
Mar 22, 2021
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 10 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main

jobs:
tree-sitter:
runs-on: ubuntu-18.04
Expand All @@ -25,15 +26,22 @@ jobs:
run: npx tree-sitter test
- name: Ensure empty Git status
run: "$GITHUB_WORKSPACE/report_git_status.sh"

rust:
strategy:
matrix:
rust:
- 1.48.0
runs-on: ubuntu-18.04
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
toolchain: ${{ matrix.rust }}
- name: Set Rust toolchain
run: rustup default ${{ matrix.rust }}
- name: Get dependencies from cache
uses: Swatinem/rust-cache@v1
- name: Run tests
Expand All @@ -50,6 +58,7 @@ jobs:
path: '~/.cargo/bin/quench-lsp'
- name: Ensure empty Git status
run: "$GITHUB_WORKSPACE/report_git_status.sh"

vscode:
needs: rust
runs-on: ubuntu-18.04
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
release:
types:
- created

jobs:
crates-io:
runs-on: ubuntu-18.04
Expand All @@ -17,6 +18,7 @@ jobs:
run: cargo publish --token ${{ secrets.CARGO_TOKEN }}
- name: Ensure empty Git status
run: "$GITHUB_WORKSPACE/report_git_status.sh"

vscode-marketplace:
runs-on: ubuntu-18.04
defaults:
Expand Down
213 changes: 213 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,10 @@ cc = "1"

[dev-dependencies]
assert_cmd = "1"
comrak = "0.10"
goldenfile = "1"
pretty_assertions = "0.7"
regex = "1"
serde_json = "1"
toml = "0.5"
yaml-rust = "0.4"