update toolchain #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
workflow_dispatch: | |
jobs: | |
vendor: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ ubuntu-24.04, ubuntu-22.04, ubuntu-20.04 ] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run cargo version --verbose | |
run: cargo version --verbose | |
- name: Run cargo vendor | |
run: cargo vendor > .cargo/config.toml | |
- name: Check the diff is empty | |
run: test -z "$(git status --porcelain)" | |
- name: Display diff if not empty | |
if: ${{ failure() }} | |
run: git diff |