From e212d5c62fb8a053c1cde4003845a0212aa3f428 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Tue, 23 Jan 2024 00:00:00 +0000 Subject: build: exclude fmt clippy from stable in ci because of formatting rules that are only avaiable in nightly --- .github/workflows/build_test.yaml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/build_test.yaml (limited to '.github/workflows/build_test.yaml') diff --git a/.github/workflows/build_test.yaml b/.github/workflows/build_test.yaml new file mode 100644 index 0000000..f61d7e3 --- /dev/null +++ b/.github/workflows/build_test.yaml @@ -0,0 +1,29 @@ +on: push + +name: build test + +jobs: + ci: + runs-on: ubuntu-latest + strategy: + matrix: + rust: + - stable + - nightly + + steps: + - uses: actions/checkout@v2 + + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: ${{ matrix.rust }} + override: true + + - uses: actions-rs/cargo@v1 + with: + command: build + + - uses: actions-rs/cargo@v1 + with: + command: test -- cgit v1.2.3