mirror of
https://github.com/actix/actix-website
synced 2024-12-18 01:43:59 +01:00
add dependabot for GHA
This commit is contained in:
parent
c427ae50f3
commit
0dbfdf9f35
6
.github/dependabot.yml
vendored
Normal file
6
.github/dependabot.yml
vendored
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
version: 2
|
||||||
|
updates:
|
||||||
|
- package-ecosystem: github-actions
|
||||||
|
directory: /
|
||||||
|
schedule:
|
||||||
|
interval: weekly
|
2
.github/workflows/build-check.yml
vendored
2
.github/workflows/build-check.yml
vendored
@ -13,7 +13,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v3.7.0
|
||||||
with:
|
with:
|
||||||
node-version: 16.x
|
node-version: 16.x
|
||||||
cache: npm
|
cache: npm
|
||||||
|
10
.github/workflows/rust.yml
vendored
10
.github/workflows/rust.yml
vendored
@ -4,21 +4,21 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
types: [opened, synchronize, reopened]
|
types: [opened, synchronize, reopened]
|
||||||
push:
|
push:
|
||||||
branches: [master]
|
branches: [main]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
check-examples:
|
check-examples:
|
||||||
name: Check examples
|
name: Check examples
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
env:
|
|
||||||
RUSTFLAGS: -A dead-code -A unused-variables
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- uses: actions-rust-lang/setup-rust-toolchain@v1.3.5
|
- uses: actions-rust-lang/setup-rust-toolchain@v1.3.5
|
||||||
|
|
||||||
- name: test examples
|
- name: Test examples
|
||||||
|
env:
|
||||||
|
RUSTFLAGS: -A dead-code -A unused-variables
|
||||||
run: |
|
run: |
|
||||||
cd examples
|
cd examples
|
||||||
cargo test
|
cargo test
|
||||||
|
Loading…
Reference in New Issue
Block a user