Skip to main content

Run some tests with GitHub Actions

ID
7086119
date
2021-11-26 09:17:03+00:00
author
Alex Chan <alex@alexwlchan.net>
parent
46aee3b
message
Run some tests with GitHub Actions
changed files
1 file, 18 additions

Changed files

.github/workflows/build.yml (0) → .github/workflows/build.yml (374)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
new file mode 100644
index 0000000..8680083
--- /dev/null
+++ b/.github/workflows/build.yml
@@ -0,0 +1,18 @@
+on: [push]
+name: build
+jobs:
+  build:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v2
+      - uses: actions-rs/toolchain@v1
+        with:
+          toolchain: stable
+      - name: build
+        uses: actions-rs/cargo@v1
+        with:
+          command: build
+      - name: test
+        uses: actions-rs/cargo@v1
+        with:
+          command: test