Skip to content

Commit

Permalink
chore(build): Add extra builder
Browse files Browse the repository at this point in the history
Sometimes the ubuntu-latest builder misses things that are different on
older runners, so include an older runner just to be sure.
  • Loading branch information
erwinvaneijk committed Nov 7, 2023
1 parent 83bd1b3 commit 592b80a
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
name: Rust Build

on: [ push, pull_request ]

on: [push, pull_request]
env:
CARGO_TERM_COLOR: always

jobs:
cargo-deny:
runs-on: ubuntu-latest
Expand All @@ -20,11 +17,11 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]

os: [ubuntu-latest, ubuntu-20.04, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose

0 comments on commit 592b80a

Please sign in to comment.