From 0dbfdf9f35e6afcfec1812a45afb560ad80d2a30 Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Wed, 1 Nov 2023 15:21:29 +0000 Subject: [PATCH] add dependabot for GHA --- .github/dependabot.yml | 6 ++++++ .github/workflows/build-check.yml | 2 +- .github/workflows/rust.yml | 10 +++++----- 3 files changed, 12 insertions(+), 6 deletions(-) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..ca79ca5 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,6 @@ +version: 2 +updates: + - package-ecosystem: github-actions + directory: / + schedule: + interval: weekly diff --git a/.github/workflows/build-check.yml b/.github/workflows/build-check.yml index 8e83c68..f47693d 100644 --- a/.github/workflows/build-check.yml +++ b/.github/workflows/build-check.yml @@ -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 diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 3328db0..b1bc129 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -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