Skip to content

Commit

Permalink
Popping stash
Browse files Browse the repository at this point in the history
adding back format to run on windows and ubuntu
  • Loading branch information
nick-mobilecoin committed Jan 24, 2023
1 parent 5adee17 commit e47a518
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,16 @@ permissions:

jobs:
run-linters:
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v3

- uses: dtolnay/rust-toolchain@stable
- name: Run linters
uses: nick-mobilecoin/lint-action@clippy
uses: nick-mobilecoin/lint-action@rustfmt
with:
clippy: true
auto_fix: true
rustfmt: true
4 changes: 2 additions & 2 deletions src/foo.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use std::time::{SystemTime, Duration};

pub fn delta() -> Duration {
let start = SystemTime::now();
start.elapsed().unwrap()
let start = SystemTime::now(); let delta = start.elapsed().unwrap();
delta
}

0 comments on commit e47a518

Please sign in to comment.