aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorFxQnLr <[email protected]>2024-02-12 15:05:03 +0100
committerGitHub <[email protected]>2024-02-12 15:05:03 +0100
commitca395b81bcadb9dde9214098f2cab0c7a3561574 (patch)
tree055bae9ef4e65f53b826b240f0b8e3b15b73693e /.github/workflows
parente4832b4cf36ba0eaed298ee458498eddd7176590 (diff)
parente50a868f69b602cc0bc84d51e9940878924f49ef (diff)
downloadwebol-ca395b81bcadb9dde9214098f2cab0c7a3561574.tar
webol-ca395b81bcadb9dde9214098f2cab0c7a3561574.tar.gz
webol-ca395b81bcadb9dde9214098f2cab0c7a3561574.zip
Merge pull request #13 from FxQnLr/config
Config
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/pull_request.yml63
1 files changed, 30 insertions, 33 deletions
diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml
index 279e16d..732e9e9 100644
--- a/.github/workflows/pull_request.yml
+++ b/.github/workflows/pull_request.yml
@@ -1,35 +1,32 @@
1name: check 1name: check
2 2
3on: 3on: [ pull_request, workflow_dispatch ]
4 pull_request: 4
5 branches: [ "main" ] 5nv:
6 workflow_dispatch: 6 SCCACHE_GHA_ENABLED: "true"
7 7 RUSTC_WRAPPER: "sccache"
8env: 8 SQLX_OFFLINE: "true"
9 SCCACHE_GHA_ENABLED: "true" 9 CARGO_TERM_COLOR: always
10 RUSTC_WRAPPER: "sccache" 10
11 SQLX_OFFLINE: "true" 11obs:
12 CARGO_TERM_COLOR: always 12 check:
13 13 runs-on: ubuntu-latest
14jobs: 14 steps:
15 check: 15 - name: Run sccache-cache
16 runs-on: ubuntu-latest 16 uses: mozilla-actions/[email protected]
17 steps: 17
18 - name: Run sccache-cache 18 - uses: actions/checkout@v4
19 uses: mozilla-actions/[email protected] 19
20 20 - run: cargo check
21 - uses: actions/checkout@v4 21 - run: cargo clippy
22 22
23 - run: cargo check 23 check-release:
24 - run: cargo clippy 24 runs-on: ubuntu-latest
25 25 steps:
26 check-release: 26 - name: Run sccache-cache
27 runs-on: ubuntu-latest 27 uses: mozilla-actions/[email protected]
28 steps: 28
29 - name: Run sccache-cache 29 - uses: actions/checkout@v4
30 uses: mozilla-actions/[email protected] 30
31 31 - run: cargo check --release
32 - uses: actions/checkout@v4 32 - run: cargo clippy --release
33
34 - run: cargo check --release
35 - run: cargo clippy --release \ No newline at end of file