1
0
mirror of https://github.com/actix/actix-website synced 2024-11-23 16:31:08 +01:00

add dependabot for GHA

This commit is contained in:
Rob Ede 2023-11-01 15:21:29 +00:00
parent c427ae50f3
commit 0dbfdf9f35
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933
3 changed files with 12 additions and 6 deletions

6
.github/dependabot.yml vendored Normal file
View File

@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly

View File

@ -13,7 +13,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/setup-node@v3.7.0
with:
node-version: 16.x
cache: npm

View File

@ -4,21 +4,21 @@ on:
pull_request:
types: [opened, synchronize, reopened]
push:
branches: [master]
branches: [main]
jobs:
check-examples:
name: Check examples
runs-on: ubuntu-latest
env:
RUSTFLAGS: -A dead-code -A unused-variables
steps:
- uses: actions/checkout@v3
- 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: |
cd examples
cargo test