Skip to content

Commit

Permalink
Update code-check.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kacperzuk-neti authored Sep 17, 2024
1 parent 687e11e commit f3a74f1
Showing 1 changed file with 0 additions and 33 deletions.
33 changes: 0 additions & 33 deletions .github/workflows/code-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,36 +39,3 @@ jobs:

- name: Run Clippy
run: cargo clippy

tests:
runs-on: ubuntu-latest
needs: format_and_lint
environment: staging-fidl

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Cache Cargo registry
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-registry-
- name: Cache Cargo build
uses: actions/cache@v4
with:
path: target
key: ${{ runner.os }}-cargo-build-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-build-
- name: Run tests
env:
GH_PRIVATE_KEY: ${{ secrets.GH_PRIVATE_KEY }}
DB_URL: ${{secrets.DB_URL}}
run: cargo test -- --nocapture

0 comments on commit f3a74f1

Please sign in to comment.