summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorChristian Duerr <contact@christianduerr.com>2020-11-17 13:21:51 +0000
committerGitHub <noreply@github.com>2020-11-17 13:21:51 +0000
commit8b10e5e77840c0477a4b1575f91a4549d010af04 (patch)
treea7a00d0e0ed7ccd63ab7fc799b0e6790565aa6da /.github/workflows
parentc88c7830ec20d844ab636fd0fb4bd6c03b94b38d (diff)
Reduce number of GitHub Actions CI builds
By reducing the number of CI jobs for GitHub actions, it should be possible to get a faster overview over the status of all CI jobs. While this does increase the total build time of GitHub Actions by reducing parallelization, it should still finish within the SourceHut CI times.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml29
1 files changed, 9 insertions, 20 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 1fb48226..16fb8eb3 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -9,30 +9,19 @@ jobs:
build:
strategy:
matrix:
- rust_version: [stable, 1.43.1]
os: [windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- - name: Rustup
- run: rustup default ${{ matrix.rust_version }}
- - name: Test
+ - name: Stable
run: cargo test
-
- clippy:
- strategy:
- matrix:
- os: [windows-latest, macos-latest]
-
- runs-on: ${{ matrix.os }}
-
- steps:
- - uses: actions/checkout@v2
- - name: Rustup
- run: rustup default ${{ matrix.rust_version }}
- - name: Install Clippy
- run: rustup component add clippy
- - name: Lint
- run: cargo clippy --all-targets
+ - name: Clippy
+ run: |
+ rustup component add clippy
+ cargo clippy --all-targets
+ - name: Oldstable
+ run: |
+ rustup default 1.43.1
+ cargo test