1
0
mirror of https://github.com/actix/actix-website synced 2024-11-24 00:41:07 +01:00

update CI branch targets

This commit is contained in:
Rob Ede 2023-02-03 13:55:15 -05:00
parent e873500721
commit 14874df7e1
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933
2 changed files with 10 additions and 22 deletions

View File

@ -1,9 +1,10 @@
name: Build check
name: Build website
on:
pull_request:
branches:
- v2
types: [opened, synchronize, reopened]
push:
branches: [main]
jobs:
test-deploy:

View File

@ -4,30 +4,17 @@ on:
pull_request:
types: [opened, synchronize, reopened]
push:
branches:
- master
env:
RUSTFLAGS: -A dead-code -A unused-variables
branches: [master]
jobs:
check-examples:
strategy:
fail-fast: false
name: Check examples
runs-on: ubuntu-latest
env:
RUSTFLAGS: -A dead-code -A unused-variables
steps:
- uses: actions/checkout@v3
- name: Use stable
run: |
rustup override set stable
rustup update stable
- name: cargo check and cargo test
run: |
cd examples
cargo check
cargo test
- uses: actions-rust-lang/setup-rust-toolchain@v1.3.5
- run: cargo test