File tree Expand file tree Collapse file tree 3 files changed +50
-1
lines changed
Expand file tree Collapse file tree 3 files changed +50
-1
lines changed Original file line number Diff line number Diff line change 1+ name : ' Rust setup'
2+ description : ' Rust setup, including cache configuration'
3+ inputs :
4+ components :
5+ description : ' Cargo components'
6+ required : false
7+ targets :
8+ description : ' Cargo target'
9+ required : false
10+ toolchain :
11+ description : ' Rustup toolchain'
12+ required : false
13+ default : ' stable'
14+
15+ runs :
16+ using : ' composite'
17+ steps :
18+ - name : Setup Rust
19+ uses : dtolnay/rust-toolchain@stable
20+ with :
21+ toolchain : ${{ inputs.toolchain }}
22+ targets : ${{ inputs.targets }}
23+ components : ${{ inputs.components }}
24+ - name : Add Targets
25+ if : ${{ inputs.targets }}
26+ run : rustup target add ${{ inputs.targets }}
27+ shell : bash
28+ - uses : Swatinem/rust-cache@v2
Original file line number Diff line number Diff line change 1+ on : [push]
2+
3+ name : Run tests
4+
5+ jobs :
6+ tests :
7+ name : tests
8+ runs-on : ubuntu-latest
9+ continue-on-error : true
10+ env :
11+ RUSTFLAGS : -D warnings
12+ CARGO_TERM_COLOR : always
13+ steps :
14+ - uses : actions/checkout@v3
15+ - name : Setup Rust
16+ uses : ./.github/actions/setup-rust
17+
18+ - name : Install latest nextest release
19+ uses : taiki-e/install-action@nextest
20+
21+ - name : Run tests
22+ run : cargo nextest run --all-targets
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ version = "0.1.0"
44edition = " 2021"
55authors = [" DarkSky <darksky2048@gmail.com>" ]
66license = " AGPL-3.0-only"
7- license-file = " LICENSE"
87keywords = [" sqlite" , " vfs" , " http" ]
98description = " Query sqlite database over http"
109repository = " https://github.com/darkskygit/sqlite-vfs-http"
You can’t perform that action at this time.
0 commit comments