ETH settlement #36
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Rust | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
# Fetches the main repo but skips automatic handling of submodules | |
submodules: false | |
fetch-depth: 0 | |
# Manually handle submodules | |
- name: Handle Git Submodules | |
run: | | |
# Initialize submodules | |
git submodule update --init --recursive | |
# Sync submodules in case .gitmodules has been updated | |
git submodule sync --recursive | |
# Attempt to fix any specific submodule fetching issues here, if applicable | |
- name: Build | |
run: cargo build --verbose |