From 3b3c3e9e4c2f676588615de9e695452b5cbde75d Mon Sep 17 00:00:00 2001 From: Lucas Petherbridge Date: Thu, 16 May 2024 12:02:13 -0700 Subject: [PATCH] fix: try to fix ci --- .github/workflows/cd.yml | 1 - .github/workflows/ci.yml | 4 +++- Makefile.toml | 4 ++++ homebrew-formulae | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 0033f5ff..e353754f 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -21,7 +21,6 @@ jobs: - uses: dtolnay/rust-toolchain@master with: toolchain: stable - profile: minimal - uses: Swatinem/rust-cache@v2 - name: Run release uses: MarcoIeni/release-plz-action@v0.5 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 860ecfd6..b1b1fe48 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,10 +35,12 @@ jobs: - uses: dtolnay/rust-toolchain@master with: toolchain: ${{ matrix.toolchain }} - profile: minimal targets: wasm32-unknown-unknown components: clippy - uses: Swatinem/rust-cache@v2 + - if: matrix.os == 'ubuntu-latest' + run: | + apt install libudev - run: | cargo clippy --all-targets cargo clippy --target wasm32-unknown-unknown diff --git a/Makefile.toml b/Makefile.toml index 4f46b31d..8940499f 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -96,6 +96,10 @@ command = "cargo" args = ["run", "--bin", "build_artifacts"] dependencies = ["install-cargo-tools"] +[tasks.update-homebrew] +command = "cargo" +args = ["run", "--bin", "update_homebrew_formula"] + [tasks.run-web] description = "Run TetaNES Web in release mode" category = "Development" diff --git a/homebrew-formulae b/homebrew-formulae index 1ecddfdb..1fce4ece 160000 --- a/homebrew-formulae +++ b/homebrew-formulae @@ -1 +1 @@ -Subproject commit 1ecddfdb9c432c40dfe67d3ba6eed54fb9a600bf +Subproject commit 1fce4eceed11c1200c887b852d003b022ea25d42