diff options
| author | a-kenji <aks.kenji@protonmail.com> | 2022-03-17 16:46:01 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-17 16:46:01 +0100 |
| commit | effccbfaa36f384f2897aa0a89ea393d5f34f0a0 (patch) | |
| tree | c170b59fab1f043da5a830ea5bd379db0305848e /.github | |
| parent | add(ci): install `cargo-make` through `nix` (#1233) (diff) | |
| download | sl0ppij-effccbfaa36f384f2897aa0a89ea393d5f34f0a0.tar.gz sl0ppij-effccbfaa36f384f2897aa0a89ea393d5f34f0a0.tar.xz sl0ppij-effccbfaa36f384f2897aa0a89ea393d5f34f0a0.zip | |
Feat/add rust toolchain (#1235)
* feature: update rust-toolchain
* add(ci): action that updates `rust-toolchain`
We purposefully keep our version a little behind the newest releases,
to give people the time to update. Now this is unambigious and we can
use all the features our current toolchain allows.
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/update-rust-toolchain.yml | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/.github/workflows/update-rust-toolchain.yml b/.github/workflows/update-rust-toolchain.yml new file mode 100644 index 00000000..f5f7731c --- /dev/null +++ b/.github/workflows/update-rust-toolchain.yml @@ -0,0 +1,38 @@ +name: update-flake-lock +on: + workflow_dispatch: # allows manual triggering + schedule: + - cron: '0 0 * * 0' # runs weekly on Sunday at 00:00 + +jobs: + lockfile: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v3 + - name: Install Nix + uses: cachix/install-nix-action@v16 + with: + extra_nix_config: | + access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} + - name: install dependencies + run: nix profile install nixpkgs#jq nixpkgs#curl + - name: update rust-toolchain + run: assets/scripts/update-toolchain.sh + - name: Create Pull Request + id: cpr + uses: peter-evans/create-pull-request@v3 + 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 + labels: | + dependencies + automated + rust |
