Update github actions and add Dependabot (#1141)

Update GitHub actions and add Dependabot
This commit is contained in:
yubiuser 2023-04-11 20:20:09 +02:00 committed by GitHub
parent 7de8bdc0f3
commit a7fb7ee673
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 27 additions and 17 deletions

10
.github/dependabot.yml vendored Normal file
View file

@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: weekly
day: saturday
time: "10:00"
open-pull-requests-limit: 10
target-branch: dev

View file

@ -65,10 +65,10 @@ jobs:
experimental: true experimental: true
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v2 uses: actions/checkout@v3.5.0
- name: Install toolchain - name: Install toolchain
uses: actions-rs/toolchain@v1 uses: actions-rs/toolchain@v1.0.6
with: with:
profile: minimal profile: minimal
toolchain: ${{ matrix.toolchain }} toolchain: ${{ matrix.toolchain }}
@ -76,7 +76,7 @@ jobs:
- name: Get Rustc version - name: Get Rustc version
id: get-rustc-version id: get-rustc-version
run: echo "::set-output name=version::$(rustc -V)" run: echo "version=$(rustc -V)" >> $GITHUB_OUTPUT
shell: bash shell: bash
- name: Cache Rust dependencies - name: Cache Rust dependencies
@ -117,10 +117,10 @@ jobs:
- stable - stable
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v2 uses: actions/checkout@v3.5.0
- name: Install toolchain - name: Install toolchain
uses: actions-rs/toolchain@v1 uses: actions-rs/toolchain@v1.0.6
with: with:
toolchain: ${{ matrix.toolchain }} toolchain: ${{ matrix.toolchain }}
profile: minimal profile: minimal
@ -128,11 +128,11 @@ jobs:
- name: Get Rustc version - name: Get Rustc version
id: get-rustc-version id: get-rustc-version
run: echo "::set-output name=version::$(rustc -V)" run: echo "version=$(rustc -V)" >> $GITHUB_OUTPUT
shell: bash shell: bash
- name: Cache Rust dependencies - name: Cache Rust dependencies
uses: actions/cache@v2 uses: actions/cache@v3.3.1
with: with:
path: | path: |
~/.cargo/registry/index ~/.cargo/registry/index
@ -164,10 +164,10 @@ jobs:
- stable - stable
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v2 uses: actions/checkout@v3.5.0
- name: Install toolchain - name: Install toolchain
uses: actions-rs/toolchain@v1 uses: actions-rs/toolchain@v1.0.6
with: with:
profile: minimal profile: minimal
target: ${{ matrix.target }} target: ${{ matrix.target }}
@ -176,11 +176,11 @@ jobs:
- name: Get Rustc version - name: Get Rustc version
id: get-rustc-version id: get-rustc-version
run: echo "::set-output name=version::$(rustc -V)" run: echo "version=$(rustc -V)" >> $GITHUB_OUTPUT
shell: bash shell: bash
- name: Cache Rust dependencies - name: Cache Rust dependencies
uses: actions/cache@v2 uses: actions/cache@v3.3.1
with: with:
path: | path: |
~/.cargo/registry/index ~/.cargo/registry/index
@ -205,10 +205,10 @@ jobs:
toolchain: [stable] toolchain: [stable]
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v2 uses: actions/checkout@v3.5.0
- name: Install toolchain - name: Install toolchain
uses: actions-rs/toolchain@v1 uses: actions-rs/toolchain@v1.0.6
with: with:
profile: minimal profile: minimal
toolchain: ${{ matrix.toolchain }} toolchain: ${{ matrix.toolchain }}
@ -217,11 +217,11 @@ jobs:
- name: Get Rustc version - name: Get Rustc version
id: get-rustc-version id: get-rustc-version
run: echo "::set-output name=version::$(rustc -V)" run: echo "version=$(rustc -V)" >> $GITHUB_OUTPUT
shell: bash shell: bash
- name: Cache Rust dependencies - name: Cache Rust dependencies
uses: actions/cache@v2 uses: actions/cache@v3.3.1
with: with:
path: | path: |
~/.cargo/registry/index ~/.cargo/registry/index
@ -247,9 +247,9 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v2 uses: actions/checkout@v3.5.0
- name: Install toolchain - name: Install toolchain
uses: actions-rs/toolchain@v1 uses: actions-rs/toolchain@v1.0.6
with: with:
profile: minimal profile: minimal
toolchain: stable toolchain: stable