This repository has been archived by the owner on Oct 24, 2023. It is now read-only.
feat: textDocument/inlayHint #37
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Rust | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
env: | |
CARGO_TERM_COLOR: always | |
RUST_BACKTRACE: 1 | |
jobs: | |
build: | |
container: rust:1-slim | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: current | |
- name: dependencies | |
run: | | |
npm install --global nushell | |
- name: Build | |
run: cargo build --all-features --all-targets --workspace | |
- name: Run formatter | |
run: cargo fmt -- --check | |
- name: Run linter | |
run: cargo clippy --all-features --all-targets --workspace | |
- name: Run tests | |
run: cargo test --all-features --all-targets --workspace |