Skip to content

Commit

Permalink
CI: Minor fixes (#2333)
Browse files Browse the repository at this point in the history
Update CI

Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
  • Loading branch information
Yury-Fridlyand authored Oct 28, 2024
1 parent 01308db commit 5cf72b1
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/lint-rust/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ runs:
github-token: ${{ inputs.github-token }}

- uses: Swatinem/rust-cache@v2
with:
github-token: ${{ inputs.github-token }}

- run: cargo fmt --all -- --check
working-directory: ${{ inputs.cargo-toml-folder }}
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,11 @@ jobs:
- uses: actions/checkout@v4


- uses: ./.github/workflows/lint-rust
- name: lint node rust
uses: ./.github/workflows/lint-rust
with:
cargo-toml-folder: ./node/rust-client
name: lint node rust
github-token: ${{ secrets.GITHUB_TOKEN }}

# build-macos-latest:
# runs-on: macos-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
load-engine-matrix:
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.load-engine-matrix.outputs.matrix }}
matrix: ${{ steps.load-engine-matrix.outputs.matrix }}
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/semgrep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Semgrep

on:
# Scan changed files in PRs (diff-aware scanning):
pull_request: {}
pull_request:
# Scan on-demand through GitHub Actions interface:
workflow_dispatch:
inputs:
Expand Down Expand Up @@ -34,6 +34,6 @@ jobs:

steps:
# Fetch project source with GitHub Actions Checkout.
- uses: actions/checkout@v3
- uses: actions/checkout@v4
# Run the "semgrep ci" command on the command line of the docker image.
- run: semgrep ci --config auto --no-suppress-errors --exclude-rule generic.secrets.security.detected-private-key.detected-private-key

0 comments on commit 5cf72b1

Please sign in to comment.