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:
parent
e873500721
commit
14874df7e1
7
.github/workflows/build-check.yml
vendored
7
.github/workflows/build-check.yml
vendored
@ -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:
|
||||
|
25
.github/workflows/rust.yml
vendored
25
.github/workflows/rust.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user