mirror of
https://github.com/neon-mmd/websurfx.git
synced 2024-12-22 12:28:21 -05:00
Merge branch 'rolling' into optimize-and-make-code-idiomatic-3
This commit is contained in:
commit
4a3dac6ec5
47
.github/workflows/rust.yml
vendored
47
.github/workflows/rust.yml
vendored
@ -4,10 +4,10 @@ name: Rust
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- "**"
|
||||
- '**'
|
||||
pull_request:
|
||||
branches:
|
||||
- "rolling"
|
||||
- 'rolling'
|
||||
|
||||
env:
|
||||
CARGO_TERM_COLOR: always
|
||||
@ -21,23 +21,26 @@ jobs:
|
||||
- stable
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- run: rustup toolchain install stable --profile minimal
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
prefix-key: ""
|
||||
shared-key: ""
|
||||
key: ""
|
||||
env-vars: ""
|
||||
workspaces: ""
|
||||
cache-directories: ""
|
||||
cache-targets: ""
|
||||
cache-on-failure: ""
|
||||
cache-all-crates: ""
|
||||
save-if: ""
|
||||
- uses: actions/checkout@v3
|
||||
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
|
||||
- name: Build
|
||||
run: cargo build --verbose
|
||||
- name: Run tests
|
||||
run: cargo test --verbose
|
||||
- uses: leafo/gh-actions-lua@v10
|
||||
with:
|
||||
luaVersion: 'luajit'
|
||||
- uses: actions/checkout@v3
|
||||
- run: rustup toolchain install stable --profile minimal
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
prefix-key: ''
|
||||
shared-key: ''
|
||||
key: ''
|
||||
env-vars: ''
|
||||
workspaces: ''
|
||||
cache-directories: ''
|
||||
cache-targets: ''
|
||||
cache-on-failure: ''
|
||||
cache-all-crates: ''
|
||||
save-if: ''
|
||||
- uses: actions/checkout@v3
|
||||
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
|
||||
- name: Build
|
||||
run: cargo build --verbose
|
||||
- name: Run tests
|
||||
run: cargo test --verbose
|
||||
|
3
.github/workflows/rust_format.yml
vendored
3
.github/workflows/rust_format.yml
vendored
@ -13,6 +13,9 @@ jobs:
|
||||
name: Rust project
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: leafo/gh-actions-lua@v10
|
||||
with:
|
||||
luaVersion: 'luajit'
|
||||
- uses: actions/checkout@v2
|
||||
- name: Install minimal stable with clippy and rustfmt
|
||||
uses: actions-rs/toolchain@v1
|
||||
|
@ -12,7 +12,7 @@ tokio = {version="1.32.0",features=["rt-multi-thread","macros"]}
|
||||
serde = {version="1.0.188",features=["derive"]}
|
||||
handlebars = { version = "4.3.7", features = ["dir_source"] }
|
||||
scraper = {version="0.17.1"}
|
||||
actix-web = {version="4.3.1", features = ["cookies"]}
|
||||
actix-web = {version="4.4.0", features = ["cookies"]}
|
||||
actix-files = {version="0.6.2"}
|
||||
actix-cors = {version="0.6.4"}
|
||||
serde_json = {version="1.0.105"}
|
||||
|
Loading…
Reference in New Issue
Block a user