Skip to content

Update release.yml

Update release.yml #77

Workflow file for this run

name: build
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
strategy:
matrix:
feature:
- default-doh-rustls
# - default-dot-openssl
- default-dot-rustls
- default-tcp_udp
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose --no-default-features --features ${{ matrix.feature }}
- name: Run tests
run: cargo test --verbose --no-default-features --features ${{ matrix.feature }}