upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build_test.yaml29
-rw-r--r--.github/workflows/check_rustfmt_clippy.yaml (renamed from .github/workflows/check_test_rustfmt_clippy.yaml)11
2 files changed, 30 insertions, 10 deletions
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 @@
1on: push
2
3name: build test
4
5jobs:
6 ci:
7 runs-on: ubuntu-latest
8 strategy:
9 matrix:
10 rust:
11 - stable
12 - nightly
13
14 steps:
15 - uses: actions/checkout@v2
16
17 - uses: actions-rs/toolchain@v1
18 with:
19 profile: minimal
20 toolchain: ${{ matrix.rust }}
21 override: true
22
23 - uses: actions-rs/cargo@v1
24 with:
25 command: build
26
27 - uses: actions-rs/cargo@v1
28 with:
29 command: test
diff --git a/.github/workflows/check_test_rustfmt_clippy.yaml b/.github/workflows/check_rustfmt_clippy.yaml
index 9cb63c1..3259491 100644
--- a/.github/workflows/check_test_rustfmt_clippy.yaml
+++ b/.github/workflows/check_rustfmt_clippy.yaml
@@ -1,6 +1,6 @@
1on: push 1on: push
2 2
3name: check test rustfmt clippy 3name: check rustfmt clippy
4 4
5jobs: 5jobs:
6 ci: 6 ci:
@@ -8,7 +8,6 @@ jobs:
8 strategy: 8 strategy:
9 matrix: 9 matrix:
10 rust: 10 rust:
11 - stable
12 - nightly 11 - nightly
13 12
14 steps: 13 steps:
@@ -23,14 +22,6 @@ jobs:
23 22
24 - uses: actions-rs/cargo@v1 23 - uses: actions-rs/cargo@v1
25 with: 24 with:
26 command: build
27
28 - uses: actions-rs/cargo@v1
29 with:
30 command: test
31
32 - uses: actions-rs/cargo@v1
33 with:
34 command: fmt 25 command: fmt
35 args: --all -- --check 26 args: --all -- --check
36 27