Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/api server nft 0.4.x #1752

Merged
merged 6 commits into from
May 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,15 +90,14 @@ jobs:
runs-on: macos-latest
# if: github.ref == 'refs/heads/master'
steps:
- uses: actions/checkout@v2
- name: Install python toml package
run: python3 -m pip install toml
- name: Install rust
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain $(python3 ./build-tools/rust-version-extractor/rust-version-extractor.py)
- name: Checkout repository and submodules
uses: actions/checkout@v2
with:
submodules: recursive
- name: Install python toml package
run: python3 -m pip install toml --break-system-packages --user
- name: Install rust
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain $(python3 ./build-tools/rust-version-extractor/rust-version-extractor.py)
- name: Build
run: cargo build --release --locked
- name: Run tests
Expand Down
45 changes: 45 additions & 0 deletions .github/workflows/code_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,48 @@ jobs:
run: cargo install cargo-deny --locked
- name: Run checks
run: ./do_checks.sh

static_checks_windows:
runs-on: windows-latest
steps:
# This prevents git from changing line-endings to crlf, which messes cargo fmt checks
- name: Set git to use LF
run: |
git config --global core.autocrlf false
git config --global core.eol lf

- name: Checkout repository and submodules
uses: actions/checkout@v2
with:
submodules: recursive

- name: Install python toml package
run: python3 -m pip install toml
- name: Install rust
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain $(python3 ./build-tools/rust-version-extractor/rust-version-extractor.py)
- name: Install rust clippy
run: rustup component add clippy
- name: Install cargo-deny
run: cargo install cargo-deny --locked
- name: Run checks
shell: bash
run: ./do_checks.sh

static_checks_macos:
runs-on: macos-latest
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v2
with:
submodules: recursive

- name: Install python toml package
run: python3 -m pip install toml --break-system-packages --user
- name: Install rust
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain $(python3 ./build-tools/rust-version-extractor/rust-version-extractor.py)
- name: Install rust clippy
run: rustup component add clippy
- name: Install cargo-deny
run: cargo install cargo-deny --locked
- name: Run checks
run: bash ./do_checks.sh
Loading
Loading