From 00f4ce83953c24e85d1416d47cdfc09a08838212 Mon Sep 17 00:00:00 2001 From: axiomatic-aardvark Date: Thu, 15 Feb 2024 19:25:51 +0200 Subject: [PATCH] test --- .github/workflows/main.yml | 26 +++++++++----------------- 1 file changed, 9 insertions(+), 17 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8615573..6327249 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -2,9 +2,11 @@ name: CI on: push: - branches: [main] - pull_request_review: - types: [submitted] + branches: + - '**' # This triggers the workflow on push to any branch + pull_request: + branches: + - '**' # This triggers the workflow on any pull request jobs: fmt: @@ -20,12 +22,7 @@ jobs: check: name: Check - if: github.event.review.state == 'approved' - strategy: - matrix: - os: [ubuntu-latest, macos-latest] - toolchain: [stable-x86_64-unknown-linux-gnu, stable-x86_64-apple-darwin] - runs-on: ${{ matrix.os }} + runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 with: @@ -38,7 +35,7 @@ jobs: - uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: ${{ matrix.toolchain }} + toolchain: stable-x86_64-unknown-linux-gnu default: true override: true - uses: actions-rs/cargo@v1 @@ -51,12 +48,7 @@ jobs: test: name: Test Suite - if: github.event.review.state == 'approved' - strategy: - matrix: - os: [ubuntu-latest, macos-latest] - toolchain: [stable-x86_64-unknown-linux-gnu, stable-x86_64-apple-darwin] - runs-on: ${{ matrix.os }} + runs-on: ubuntu-latest services: postgres: image: postgres:12 @@ -85,7 +77,7 @@ jobs: - uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: ${{ matrix.toolchain }} + toolchain: stable-x86_64-unknown-linux-gnu default: true override: true - name: Install sqlx-cli