diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-11-22 20:17:51 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-11-22 20:23:58 +0100 |
| commit | ea2a1525f0fc461ec9a5dc1839aec9b66c4e1ecc (patch) | |
| tree | 98fbaf91f40e2b16784a69ca4472b4598dbfb849 | |
| parent | 5992f11b4c33d82fa245205980094accb57a8c76 (diff) | |
Scheduled maintenance
| -rw-r--r-- | .github/workflows/ci.yml | 12 | ||||
| -rw-r--r-- | .github/workflows/rust.yml | 36 |
2 files changed, 12 insertions, 36 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..6d05cbbb --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,12 @@ +name: Continous integration +on: [push, pull_request] + +jobs: + ci: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: dtolnay/rust-toolchain@stable + - uses: Swatinem/rust-cache@v2 + - run: cargo build --all + - run: cargo test --all diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml deleted file mode 100644 index db77d154..00000000 --- a/.github/workflows/rust.yml +++ /dev/null @@ -1,36 +0,0 @@ -name: Continuous integration - -on: - push: - branches: [main] - pull_request: - branches: [main] - -env: - CARGO_TERM_COLOR: always - -jobs: - ci: - runs-on: ubuntu-latest - strategy: - matrix: - rust: [stable] - - steps: - - name: Checkout source code - uses: actions/checkout@v2 - - - name: Dependency cache - uses: Swatinem/rust-cache@v1 - - - name: Build - uses: actions-rs/cargo@v1 - with: - command: build - args: --all - - - name: Test - uses: actions-rs/cargo@v1 - with: - command: test - args: --all |
