Skip to content

refactor text errors #393

refactor text errors

refactor text errors #393

permissions:
contents: read
# runs on push to the main branch, and PRs
on:
push:
branches: [main]
pull_request:
name: "test arches miri"
jobs:
# 1.
required:
name: "ubuntu / ${{ matrix.toolchain }}"
runs-on: ubuntu-latest
strategy:
matrix:
toolchain: [stable]
# toolchain: [stable, beta]
steps:
- name: "checkout"
uses: actions/checkout@v4
with:
submodules: true
- name: "Install ${{ matrix.toolchain }}"
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.toolchain }}
- name: "Install libraries via APT"
run: |
sudo apt update
sudo apt install -y libasound2-dev
- name: "cargo generate-lockfile"
if: hashFiles('Cargo.lock') == ''
run: cargo generate-lockfile
- name: "install rust-script"
run: cargo install rust-script;
# https://twitter.com/jonhoo/status/1571290371124260865
- name: "./utils/check.rs --arches"
run: ./utils/check.rs --arches
- name: "./utils/check.rs --miri"
run: ./utils/check.rs --miri