Skip to content

Commit a59e2b8

Browse files
committed
Migrate from GitLab CI to GitHub Actions
1 parent b85e288 commit a59e2b8

File tree

2 files changed

+33
-49
lines changed

2 files changed

+33
-49
lines changed

.github/workflows/test.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Test CIRC
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- uses: actions/checkout@v3
11+
with:
12+
submodules: recursive
13+
14+
- name: Install Rust nightly toolchain
15+
uses: actions-rs/toolchain@v1
16+
with:
17+
toolchain: nightly
18+
components: rustfmt, clippy
19+
20+
- name: Install cargo-audit
21+
run: cargo install cargo-audit
22+
23+
- name: Run checks
24+
run: |
25+
cargo check --verbose
26+
cargo fmt -- --check
27+
cargo clippy -- -D warnings
28+
cargo audit
29+
30+
- name: Run tests
31+
run: |
32+
cargo test
33+
cargo test --release

.gitlab-ci.yml

Lines changed: 0 additions & 49 deletions
This file was deleted.

0 commit comments

Comments
 (0)