Skip to content

Update tutorials for kas 0.17 #57

Update tutorials for kas 0.17

Update tutorials for kas 0.17 #57

Workflow file for this run

name: Test examples
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
permissions:
contents: read
jobs:
test:
name: Test examples
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: beta
override: true
components: rustfmt
- name: Install dependencies
run: sudo apt-get install -y libxkbcommon-dev libxcb-shape0-dev libxcb-xfixes0-dev
- name: Test examples
run: |
cargo fmt -- --check
cargo test
- name: Test code samples
working-directory: ./tests
run: |
./generate.sh
cargo test --no-run