diff options
author | FxQnLr <[email protected]> | 2024-02-12 16:00:45 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2024-02-12 16:00:45 +0100 |
commit | c663810817183c8f92a4279236ca84d271365088 (patch) | |
tree | 0c844cc883e5e474a9cdad30004108852f13f903 /.github/workflows | |
parent | da6367885d31698464e1bec122e3e673974427c6 (diff) | |
parent | 9139d76cb1cf462820b2ddfa80d9a8d55bb30996 (diff) | |
download | webol-c663810817183c8f92a4279236ca84d271365088.tar webol-c663810817183c8f92a4279236ca84d271365088.tar.gz webol-c663810817183c8f92a4279236ca84d271365088.zip |
Merge pull request #14 from FxQnLr/axum7
Axum7 & config changes
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/pull_request.yml | 45 |
1 files changed, 21 insertions, 24 deletions
diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 279e16d..7196d4e 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml | |||
@@ -1,35 +1,32 @@ | |||
1 | name: check | 1 | name: check |
2 | 2 | ||
3 | on: | 3 | on: [ pull_request, workflow_dispatch ] |
4 | pull_request: | ||
5 | branches: [ "main" ] | ||
6 | workflow_dispatch: | ||
7 | 4 | ||
8 | env: | 5 | env: |
9 | SCCACHE_GHA_ENABLED: "true" | 6 | SCCACHE_GHA_ENABLED: "true" |
10 | RUSTC_WRAPPER: "sccache" | 7 | RUSTC_WRAPPER: "sccache" |
11 | SQLX_OFFLINE: "true" | 8 | SQLX_OFFLINE: "true" |
12 | CARGO_TERM_COLOR: always | 9 | CARGO_TERM_COLOR: always |
13 | 10 | ||
14 | jobs: | 11 | jobs: |
15 | check: | 12 | check: |
16 | runs-on: ubuntu-latest | 13 | runs-on: ubuntu-latest |
17 | steps: | 14 | steps: |
18 | - name: Run sccache-cache | 15 | - name: Run sccache-cache |
19 | uses: mozilla-actions/[email protected] | 16 | uses: mozilla-actions/[email protected] |
20 | 17 | ||
21 | - uses: actions/checkout@v4 | 18 | - uses: actions/checkout@v4 |
22 | 19 | ||
23 | - run: cargo check | 20 | - run: cargo check |
24 | - run: cargo clippy | 21 | - run: cargo clippy |
25 | 22 | ||
26 | check-release: | 23 | check-release: |
27 | runs-on: ubuntu-latest | 24 | runs-on: ubuntu-latest |
28 | steps: | 25 | steps: |
29 | - name: Run sccache-cache | 26 | - name: Run sccache-cache |
30 | uses: mozilla-actions/[email protected] | 27 | uses: mozilla-actions/[email protected] |
31 | 28 | ||
32 | - uses: actions/checkout@v4 | 29 | - uses: actions/checkout@v4 |
33 | 30 | ||
34 | - run: cargo check --release | 31 | - run: cargo check --release |
35 | - run: cargo clippy --release \ No newline at end of file | 32 | - run: cargo clippy --release |