Skip to content

Update build.yml

Update build.yml #44

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: readi

Check failure on line 16 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / build

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml (Line: 16, Col: 17): Unexpected value 'readi'
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 }}