This PR corrects a variable name and type, and ensures we test the socks-proxy feature as part of the test matrix.
29 lines
608 B
YAML
29 lines
608 B
YAML
on: [push, pull_request]
|
|
|
|
name: CI
|
|
|
|
jobs:
|
|
build_and_test:
|
|
name: Rust project
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
feature:
|
|
- charset
|
|
- cookies
|
|
- socks-proxy
|
|
env:
|
|
RUST_BACKTRACE: "1"
|
|
steps:
|
|
- uses: actions/checkout@master
|
|
- name: Install Rust
|
|
uses: actions-rs/toolchain@v1
|
|
with:
|
|
toolchain: stable
|
|
override: true
|
|
- name: Test
|
|
uses: actions-rs/cargo@v1
|
|
with:
|
|
command: test
|
|
args: --no-default-features --features "json tls ${{ matrix.feature }}"
|