From 012c39080da8ad4d6254a2d46b20ee1dc0eb2876 Mon Sep 17 00:00:00 2001 From: Max Mielchen <94404446+maxmielchen@users.noreply.github.com> Date: Mon, 29 Jan 2024 16:01:28 +0100 Subject: [PATCH] Create main.yml --- .github/workflows/main.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..cb8bb5f --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,28 @@ +name: Main + +on: + push: + branches: [ "main" ] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions-rs/toolchain@v1 + with: + toolchain: stable + - uses: actions-rs/cargo@v1 + with: + command: build + + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions-rs/toolchain@v1 + with: + toolchain: stable + - uses: actions-rs/cargo@v1 + with: + command: test