From a681307712fbd9f240d7384c7576ec8f9bb53aff Mon Sep 17 00:00:00 2001 From: ko1N Date: Fri, 1 Jan 2021 02:31:02 +0100 Subject: [PATCH] Added submodule checkout to ci --- .github/workflows/build.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 702dc04..f8bcc1f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,6 +11,8 @@ jobs: runs-on: windows-latest steps: - uses: actions/checkout@v2 + with: + submodules: 'true' - name: build run: cargo build --workspace --verbose - name: run tests @@ -22,6 +24,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + with: + submodules: 'true' - name: install libusb-1.0 run: sudo apt-get install libusb-1.0-0-dev - name: build @@ -35,6 +39,8 @@ jobs: runs-on: macOS-10.14 steps: - uses: actions/checkout@v2 + with: + submodules: 'true' - uses: keepitsimpletech/actions/setup-macports@setup-macports/releases/v1 - name: install libusb-1.0 run: sudo port -vs install libusb libusb-devel @@ -49,6 +55,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + with: + submodules: 'true' - uses: actions-rs/toolchain@v1 with: toolchain: stable @@ -65,6 +73,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + with: + submodules: 'true' - run: rustup component add clippy - name: check formatting run: cargo fmt -- --check @@ -77,6 +87,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + with: + submodules: 'true' - name: setup rust nightly uses: actions-rs/toolchain@v1 with: