1
0
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:
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: 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

View File

@ -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