Skip to content

Commit

Permalink
ci: change runners for execute some jobs (#484)
Browse files Browse the repository at this point in the history
# What ❔
Change runners for handle some CI jobs

## Why ❔
Optimize runners usage

## Checklist

<!-- Check your PR fulfills the following items. -->
<!-- For draft PRs check the boxes as you complete them. -->

- [x] PR title corresponds to the body of PR (we generate changelog
entries from PRs).
- [x] Tests for the changes have been added / updated.
- [x] Documentation comments have been added / updated.
- [x] Code has been formatted via `cargo fmt`.

---------

Co-authored-by: Fedor Sakharov <[email protected]>
  • Loading branch information
otani88 and montekki authored Jul 23, 2024
1 parent 9697da4 commit cb72445
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cargo-deny.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:

jobs:
cargo_deny:
runs-on: [matterlabs-ci-runner]
runs-on: ubuntu-latest
strategy:
matrix:
checks:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ concurrency:

jobs:
build_and_test:
runs-on: [matterlabs-ci-runner]

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4

Expand Down
3 changes: 0 additions & 3 deletions bin/withdrawal-finalizer/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,6 @@ pub struct Config {
#[envconfig(from = "START_FROM_L2_BLOCK")]
pub start_from_l2_block: Option<u64>,

#[envconfig(from = "UPDATER_BACKOFF")]
pub updater_backoff: Option<u64>,

#[envconfig(from = "GAS_LIMIT")]
pub one_withdrawal_gas_limit: String,

Expand Down
2 changes: 1 addition & 1 deletion tx-sender/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

//! Wrapper for transaction sending with adjusting a gas price on retries.
use std::{time::Duration, u8};
use std::time::Duration;

use ethers::{
providers::{Middleware, MiddlewareError, ProviderError},
Expand Down

0 comments on commit cb72445

Please sign in to comment.