mirror of
https://github.com/jedisct1/encrypted-dns-server
synced 2024-11-10 19:10:25 +00:00
22 lines
456 B
YAML
22 lines
456 B
YAML
name: Rust
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@master
|
|
- uses: hecrj/setup-rust-action@master
|
|
with:
|
|
rust-version: nightly
|
|
- name: Check Cargo availability
|
|
run: cargo --version
|
|
- name: Check Rustup default toolchain
|
|
run: rustup default | grep nightly
|
|
- name: Build
|
|
run: cargo build
|
|
- name: Run tests
|
|
run: cargo test
|