mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
Update github actions and add Dependabot (#1141)
Update GitHub actions and add Dependabot
This commit is contained in:
parent
7de8bdc0f3
commit
a7fb7ee673
2 changed files with 27 additions and 17 deletions
10
.github/dependabot.yml
vendored
Normal file
10
.github/dependabot.yml
vendored
Normal 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
|
34
.github/workflows/test.yml
vendored
34
.github/workflows/test.yml
vendored
|
@ -65,10 +65,10 @@ jobs:
|
|||
experimental: true
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3.5.0
|
||||
|
||||
- name: Install toolchain
|
||||
uses: actions-rs/toolchain@v1
|
||||
uses: actions-rs/toolchain@v1.0.6
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: ${{ matrix.toolchain }}
|
||||
|
@ -76,7 +76,7 @@ jobs:
|
|||
|
||||
- name: Get Rustc version
|
||||
id: get-rustc-version
|
||||
run: echo "::set-output name=version::$(rustc -V)"
|
||||
run: echo "version=$(rustc -V)" >> $GITHUB_OUTPUT
|
||||
shell: bash
|
||||
|
||||
- name: Cache Rust dependencies
|
||||
|
@ -117,10 +117,10 @@ jobs:
|
|||
- stable
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3.5.0
|
||||
|
||||
- name: Install toolchain
|
||||
uses: actions-rs/toolchain@v1
|
||||
uses: actions-rs/toolchain@v1.0.6
|
||||
with:
|
||||
toolchain: ${{ matrix.toolchain }}
|
||||
profile: minimal
|
||||
|
@ -128,11 +128,11 @@ jobs:
|
|||
|
||||
- name: Get Rustc version
|
||||
id: get-rustc-version
|
||||
run: echo "::set-output name=version::$(rustc -V)"
|
||||
run: echo "version=$(rustc -V)" >> $GITHUB_OUTPUT
|
||||
shell: bash
|
||||
|
||||
- name: Cache Rust dependencies
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3.3.1
|
||||
with:
|
||||
path: |
|
||||
~/.cargo/registry/index
|
||||
|
@ -164,10 +164,10 @@ jobs:
|
|||
- stable
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3.5.0
|
||||
|
||||
- name: Install toolchain
|
||||
uses: actions-rs/toolchain@v1
|
||||
uses: actions-rs/toolchain@v1.0.6
|
||||
with:
|
||||
profile: minimal
|
||||
target: ${{ matrix.target }}
|
||||
|
@ -176,11 +176,11 @@ jobs:
|
|||
|
||||
- name: Get Rustc version
|
||||
id: get-rustc-version
|
||||
run: echo "::set-output name=version::$(rustc -V)"
|
||||
run: echo "version=$(rustc -V)" >> $GITHUB_OUTPUT
|
||||
shell: bash
|
||||
|
||||
- name: Cache Rust dependencies
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3.3.1
|
||||
with:
|
||||
path: |
|
||||
~/.cargo/registry/index
|
||||
|
@ -205,10 +205,10 @@ jobs:
|
|||
toolchain: [stable]
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3.5.0
|
||||
|
||||
- name: Install toolchain
|
||||
uses: actions-rs/toolchain@v1
|
||||
uses: actions-rs/toolchain@v1.0.6
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: ${{ matrix.toolchain }}
|
||||
|
@ -217,11 +217,11 @@ jobs:
|
|||
|
||||
- name: Get Rustc version
|
||||
id: get-rustc-version
|
||||
run: echo "::set-output name=version::$(rustc -V)"
|
||||
run: echo "version=$(rustc -V)" >> $GITHUB_OUTPUT
|
||||
shell: bash
|
||||
|
||||
- name: Cache Rust dependencies
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3.3.1
|
||||
with:
|
||||
path: |
|
||||
~/.cargo/registry/index
|
||||
|
@ -247,9 +247,9 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
uses: actions/checkout@v3.5.0
|
||||
- name: Install toolchain
|
||||
uses: actions-rs/toolchain@v1
|
||||
uses: actions-rs/toolchain@v1.0.6
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: stable
|
||||
|
|
Loading…
Reference in a new issue