Update workflows to main #149
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci | |
on: | |
push: | |
branches: [main, staging, trying] | |
pull_request: | |
branches: [main] | |
workflow_dispatch: {} | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: install rust nightly | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: nightly | |
components: rustfmt, clippy | |
- name: install nix | |
uses: cachix/install-nix-action@v16 | |
- name: submodules | |
run: git submodule update --init | |
- name: build | |
run: cargo build --verbose --examples | |
- name: build release # for integ tests | |
run: cargo build --release | |
- name: integ | |
run: cd tests && make integ-nightly |