From 48943e0de28b99d7f108e96b7d250bbf1a6c5a5b Mon Sep 17 00:00:00 2001 From: fx Date: Mon, 16 Oct 2023 17:52:17 +0200 Subject: update readme with defaults --- .github/workflows/pull_request.yml | 2 +- .github/workflows/push.yml | 11 ++++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) (limited to '.github') diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 4466d7c..9a1d005 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -12,7 +12,7 @@ env: CARGO_TERM_COLOR: always jobs: - build: + test: runs-on: ubuntu-latest steps: - name: Run sccache-cache diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 1afe2d3..acffe51 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -12,7 +12,7 @@ env: CARGO_TERM_COLOR: always jobs: - build: + test: runs-on: ubuntu-latest steps: - name: Run sccache-cache @@ -35,6 +35,15 @@ jobs: with: command: clippy + - name: run test + uses: actions-rs/cargo@v1 + with: + command: test + + build: + runs-on: ubuntu-latest + needs: test + steps: - name: Set up QEMU uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx -- cgit v1.2.3