From a7fb7ee67319f503f2b0d0fefa4d56762366d99a Mon Sep 17 00:00:00 2001 From: yubiuser Date: Tue, 11 Apr 2023 20:20:09 +0200 Subject: [PATCH] Update github actions and add Dependabot (#1141) Update GitHub actions and add Dependabot --- .github/dependabot.yml | 10 ++++++++++ .github/workflows/test.yml | 34 +++++++++++++++++----------------- 2 files changed, 27 insertions(+), 17 deletions(-) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 00000000..89d9269a --- /dev/null +++ b/.github/dependabot.yml @@ -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 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 69b0572f..1db716e8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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