diff options
author | a-kenji <aks.kenji@protonmail.com> | 2022-03-20 14:50:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-20 14:50:20 +0100 |
commit | d01df9cb25378f172099a408be131403a0598a95 (patch) | |
tree | daf559ce2b2e9141203111a7ad7d6512483d4525 /.github | |
parent | e92190ffada24dbd0fe27dfeb336212175dd0e68 (diff) |
add(ci): toolchain (#1245)
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/update-rust-toolchain.yml | 22 |
1 files changed, 4 insertions, 18 deletions
diff --git a/.github/workflows/update-rust-toolchain.yml b/.github/workflows/update-rust-toolchain.yml index cbd2d1fcb..3a72d7bb4 100644 --- a/.github/workflows/update-rust-toolchain.yml +++ b/.github/workflows/update-rust-toolchain.yml @@ -17,25 +17,11 @@ jobs: nix_path: nixpkgs=channel:nixos-unstable extra_nix_config: | access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} - - name: install jq - run: nix-env -i jq -f '<nixpkgs>' - - name: install curl - run: nix-env -i curl -f '<nixpkgs>' - - name: update rust-toolchain - run: assets/scripts/update-toolchain.sh - - name: Create Pull Request - id: cpr - uses: peter-evans/create-pull-request@v3 + - name: update rust toolchain + id: urt + uses: a-kenji/update-rust-toolchain with: - commit-message: Update `rust-toolchain` - committer: GitHub <noreply@github.com> - author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com> - signoff: false - branch: update/rust-toolchain - delete-branch: true - title: '[Update] rust-toolchain' - body: | - Update rust-toolchain file + minor-version-delta: 1 labels: | dependencies automated |