cleanup build.yml action

I think we don't need to run the full rust toolchain script,
just `rustup update`?

Also update actions version for checkout and comments.
This commit is contained in:
bunnie 2024-01-11 21:19:41 +08:00
parent 958517a474
commit d510a806de

View file

@ -18,15 +18,11 @@ jobs:
sudo apt update
sudo apt install -y libxkbcommon-dev
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: "1.75.0"
default: true
- name: Update to latest toolchain
run: rustup update
- name: Checkout sources
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Fetch tags
run: git fetch --prune --unshallow --tags
@ -38,5 +34,5 @@ jobs:
- name: Clean out old target directory (in case of libstd change)
run: rm -rf target/*
- name: Build hosted-ci
- name: Build CI targets
run: cargo xtask ${{ matrix.task }} --no-verify