Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakub Zajkowski committed Aug 16, 2023
1 parent fd08814 commit b80c1b5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 25 deletions.
28 changes: 3 additions & 25 deletions .github/workflows/ci-casper-event-sidecar-rs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
- "feat-*"
- "release-*"
- "rc-*"
- "cicd_test"
paths-ignore:
- '**.md'

Expand Down Expand Up @@ -35,28 +36,5 @@ jobs:
with:
shared-key: ${{ matrix.os }}

- name: update toolchain
run: rustup update

- name: fmt
run: cargo fmt -- --check

- name: clippy
run: cargo clippy --all-targets -- --deny warnings

- name: audit
# Hope to get to here:
# run: cargo audit --deny warnings
# RUSTSEC-2022-0090 I don't think we have much power over that, it's a transitive dependency of sqlx.
# We need to keep an eye on the newest sqlx-core update and apply it ASAP.
run: cargo audit --ignore RUSTSEC-2022-0090

- name: test
run: cargo test

- name: install cargo packaging tools
run: |
cargo install cargo-deb
- name: deb
run: cargo deb --package casper-event-sidecar
- name: do super important test
run: bash ${GITHUB_WORKSPACE}/a.sh
4 changes: 4 additions & 0 deletions a.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env bash
cd types
A=`cargo read-manifest | jq -r '.version'`
printf "version: $A"

0 comments on commit b80c1b5

Please sign in to comment.