Skip to content

Commit

Permalink
Merge pull request #580 from eval-exec/exec/bump-0.114.0
Browse files Browse the repository at this point in the history
Upgrade `ckb` dependencies to `v0.114.0`, bump `ckb-cli` to `1.7.0`
  • Loading branch information
doitian authored Mar 4, 2024
2 parents 6a2ccb1 + e050c68 commit a08c298
Show file tree
Hide file tree
Showing 18 changed files with 811 additions and 636 deletions.
69 changes: 36 additions & 33 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,56 +18,59 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, macos-11, windows-2019 ]
os: [ ubuntu-latest, macos-11, windows-latest ]
steps:
- uses: actions/checkout@v2
- if: matrix.os == 'windows-2019'
name: Windows Dependencies
run: |
iwr -useb get.scoop.sh -outfile 'install-scoop.ps1'
.\install-scoop.ps1 -RunAsAdmin
echo "LIBCLANG_PATH=$($HOME)/scoop/apps/llvm/current/bin" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
echo "$env:USERPROFILE\scoop\shims" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
scoop install llvm yasm
- name: UnitTest
run: make test
- uses: actions/checkout@v3
- if: matrix.os == 'windows-latest'
name: Windows Dependencies
shell: pwsh
run: |
iex "& {$(irm get.scoop.sh)} -RunAsAdmin"
scoop install mingw git
- name: UnitTest
shell: pwsh
run: |
make test
git diff
integration-test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-11]
os: [ ubuntu-latest, macos-11 ]
steps:
- uses: actions/checkout@v2
- name: Integration_Test
run: make integration
- uses: actions/checkout@v2
- name: Integration_Test
run: make integration

linters:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-11]
os: [ ubuntu-latest, macos-11 ]
steps:
- uses: actions/checkout@v2
- name: Linters
run: |
cargo fmt --version || rustup component add rustfmt
cargo clippy --version || rustup component add clippy
make fmt
make clippy
git diff --exit-code Cargo.lock
- uses: actions/checkout@v2
- name: Linters
run: |
cargo fmt --version || rustup component add rustfmt
cargo clippy --version || rustup component add clippy
make fmt
make clippy
git diff --exit-code Cargo.lock
security-audit:
runs-on: ubuntu-latest
strategy:
matrix:
checks:
- --hide-inclusion-graph --show-stats advisories sources
- --hide-inclusion-graph --show-stats bans
- --hide-inclusion-graph --show-stats licenses
steps:
- uses: actions/checkout@v2
- name: Security Audit & Licenses
run: |
rustup toolchain install stable --profile minimal
cargo deny --version || cargo install cargo-deny --locked
make security-audit
make check-crates
make check-licenses
- uses: actions/checkout@v3
- uses: EmbarkStudios/cargo-deny-action@v1
with:
command: check ${{ matrix.checks }}

ci-success:
name: ci
Expand Down
Loading

0 comments on commit a08c298

Please sign in to comment.