diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 458234ce..70d21edf 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,5 +1,4 @@ # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates -# disable until I don't get spam of notification (. before filename) version: 2 updates: diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 092eef31..aa0b0aa1 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -23,5 +23,9 @@ jobs: rust-version: ${{ matrix.rust }} components: rustfmt, clippy - uses: actions/checkout@master + + - name: Build libsensors + run: make libsensors + - name: cargo format + clippy run: cargo fmt --all -- --check && cargo clippy --all \ No newline at end of file diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c50a84f2..f29355d3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -22,6 +22,10 @@ jobs: with: rust-version: ${{ matrix.rust }} - uses: actions/checkout@master + + - name: Build libsensors + run: make libsensors + - name: Run tests run: | cargo test --all --all-features \ No newline at end of file diff --git a/.github/workflows/upload_artifacts.yml b/.github/workflows/upload_artifacts.yml index 88787c8e..2bb33229 100644 --- a/.github/workflows/upload_artifacts.yml +++ b/.github/workflows/upload_artifacts.yml @@ -14,12 +14,13 @@ jobs: with: rust-version: nightly - uses: actions/checkout@master - - name: build libsensors - run: | - make libsensors + + - name: Build libsensors + run: make libsensors + - name: build release - run: | - cargo build --release + run: cargo build --release + - name: Upload Linux artifact uses: actions/upload-artifact@v3.1.2 with: