Skip to content

Commit

Permalink
Fix CI (#222)
Browse files Browse the repository at this point in the history
  • Loading branch information
jayvdb authored Mar 24, 2024
1 parent f431f70 commit 1ed0e26
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
# Postgresql setup adapted from Diesel CI
# Disable ssl as server doesn't have a trusted cert
- name: Setup postgres on Linux
Expand Down Expand Up @@ -72,19 +72,23 @@ jobs:
with:
toolchain: nightly
components: rustfmt
- name: Add Rust nightly toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable
- name: Install Rust tools
run: cargo install typos-cli
- name: Build
run: make build
- name: Lint
run: make lint-ci
- name: Test Core
run: cd butane_core && cargo test --all-features
run: cd butane_core && cargo +stable test --all-features
- name: Test Codegen
run: cd butane_codegen && cargo test --all-features
run: cd butane_codegen && cargo +stable test --all-features
- name: Test CLI
run: cd butane_cli && cargo test --all-features
run: cd butane_cli && cargo +stable test --all-features
- name: Run example cli tests
run: cd example && cargo test --all-features
run: cd example && cargo +stable test --all-features
- name: Test
run: cd butane && cargo test --all-features
run: cd butane && cargo +stable test --all-features

0 comments on commit 1ed0e26

Please sign in to comment.