diff --git a/.github/actions/install-conta/action.yml b/.github/actions/install-conta/action.yml index 28e013189..33f0db826 100644 --- a/.github/actions/install-conta/action.yml +++ b/.github/actions/install-conta/action.yml @@ -13,4 +13,5 @@ runs: key: ${{ runner.os }}-conta - name: Install Conta + shell: bash run: cargo install conta diff --git a/.github/workflows/deps.yml b/.github/workflows/deps.yml new file mode 100644 index 000000000..b5836ead5 --- /dev/null +++ b/.github/workflows/deps.yml @@ -0,0 +1,19 @@ +name: Deps + +on: + pull_request: + branches: [main] + +concurrency: + group: ${{ github.head_ref || github.run_id }} + cancel-in-progress: true + +jobs: + review: + name: Review + runs-on: ubuntu-latest + steps: + - name: Checkout Repository + uses: actions/checkout@v4 + - name: Dependency Review + uses: actions/dependency-review-action@v3 diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 229cf36c6..ee1ff46e3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -42,13 +42,3 @@ jobs: run: cargo fmt --check - name: Clippy run: cargo clippy --all -- -D warnings - - dep: - name: Review - runs-on: ubuntu-latest - if: github.event_name == 'pull_request' - steps: - - name: Checkout Repository - uses: actions/checkout@v4 - - name: Dependency Review - uses: actions/dependency-review-action@v3 diff --git a/codegen/src/codegen/dispatcher.rs b/codegen/src/codegen/dispatcher.rs index 582c5c53d..0ab85b1fc 100644 --- a/codegen/src/codegen/dispatcher.rs +++ b/codegen/src/codegen/dispatcher.rs @@ -24,7 +24,7 @@ pub struct Dispatcher<'d> { pub table: JumpTable, /// ABI for the current function /// - /// TODO: refactor this. (#192) + /// TODO: refactor this. (#206) pub abi: Vec, } @@ -186,7 +186,7 @@ impl<'d> Dispatcher<'d> { fn emit_selector(&mut self, selector: &wasm::Function<'_>, last: bool) -> Result<()> { let abi = self.load_abi(selector)?; - // TODO: refactor this. (#192) + // TODO: refactor this. (#206) self.abi.push(abi.clone()); let selector_bytes = abi.selector(); diff --git a/codegen/src/codegen/func.rs b/codegen/src/codegen/function.rs similarity index 100% rename from codegen/src/codegen/func.rs rename to codegen/src/codegen/function.rs diff --git a/codegen/src/codegen/mod.rs b/codegen/src/codegen/mod.rs index ce795d417..80fac4e5e 100644 --- a/codegen/src/codegen/mod.rs +++ b/codegen/src/codegen/mod.rs @@ -8,11 +8,11 @@ mod code; mod constructor; mod dispatcher; -mod func; +mod function; pub use self::{ code::{Code, ExtFunc}, constructor::Constructor, dispatcher::Dispatcher, - func::Function, + function::Function, };