Skip to content

Commit

Permalink
Attempt 6 (Intentional Error)
Browse files Browse the repository at this point in the history
  • Loading branch information
doonv committed Nov 6, 2023
1 parent 1d1b133 commit b7ba47a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
run: cargo check

test:
name: Test Suite
name: Test
strategy:
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
Expand All @@ -31,15 +31,20 @@ jobs:
- name: Install alsa and udev
run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev
if: runner.os == 'linux'
- name: Run cargo test
run: cargo test
- name: Run unit tests
run: cargo test --tests
# TODO: Fix doctests and CI
# - name: Build doctests
# run: cargo test --doc

lints:
name: Lints
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: Install alsa and udev
run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev
- name: Run cargo fmt
run: cargo fmt --all -- --check
- name: Run cargo clippy
Expand Down
2 changes: 1 addition & 1 deletion src/systems.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ pub fn init_camera(
let size = get_viewport_size(&window.resolution, *scaling, *smoothing);

// This is the texture that will be rendered to.
let mut image = Image {
let mut image = Imae {
texture_descriptor: TextureDescriptor {
label: None,
size,
Expand Down

0 comments on commit b7ba47a

Please sign in to comment.