add(ci): toolchain (#1245)
This commit is contained in:
parent
e92190ffad
commit
d01df9cb25
1 changed files with 4 additions and 18 deletions
22
.github/workflows/update-rust-toolchain.yml
vendored
22
.github/workflows/update-rust-toolchain.yml
vendored
|
|
@ -17,25 +17,11 @@ jobs:
|
||||||
nix_path: nixpkgs=channel:nixos-unstable
|
nix_path: nixpkgs=channel:nixos-unstable
|
||||||
extra_nix_config: |
|
extra_nix_config: |
|
||||||
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
|
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: install jq
|
- name: update rust toolchain
|
||||||
run: nix-env -i jq -f '<nixpkgs>'
|
id: urt
|
||||||
- name: install curl
|
uses: a-kenji/update-rust-toolchain
|
||||||
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
|
|
||||||
with:
|
with:
|
||||||
commit-message: Update `rust-toolchain`
|
minor-version-delta: 1
|
||||||
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
|
|
||||||
labels: |
|
labels: |
|
||||||
dependencies
|
dependencies
|
||||||
automated
|
automated
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue