Skip to content

feat: fix auth for SaaS template #9

feat: fix auth for SaaS template

feat: fix auth for SaaS template #9

Workflow file for this run

name: CI
on:
push:
branches: [ "main", "develop" ]
pull_request:
branches: [ "main", "develop" ]
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
jobs:
fmt-clippy-a-p:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install wasm32-wasi target
run: rustup target add wasm32-wasi
- name: Install sccache
run: |
SCCACHE_VERSION='v0.5.4'
curl -L https://github.com/mozilla/sccache/releases/download/$SCCACHE_VERSION/sccache-$SCCACHE_VERSION-x86_64-unknown-linux-musl.tar.gz \
| tar -xOz sccache-$SCCACHE_VERSION-x86_64-unknown-linux-musl/sccache \
> /home/runner/.cargo/bin/sccache \
&& chmod +x /home/runner/.cargo/bin/sccache
- name: Check formatting and Clippy
shell: bash
run: ./ci.sh a q
env:
RUSTC_WRAPPER: /home/runner/.cargo/bin/sccache
CARGO_TARGET_DIR: /tmp/target
- name: Show sccache stats
run: /home/runner/.cargo/bin/sccache --show-stats
fmt-clippy-q-z:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install wasm32-wasi target
run: rustup target add wasm32-wasi
- name: Install sccache
run: |
SCCACHE_VERSION='v0.5.4'
curl -L https://github.com/mozilla/sccache/releases/download/$SCCACHE_VERSION/sccache-$SCCACHE_VERSION-x86_64-unknown-linux-musl.tar.gz \
| tar -xOz sccache-$SCCACHE_VERSION-x86_64-unknown-linux-musl/sccache \
> /home/runner/.cargo/bin/sccache \
&& chmod +x /home/runner/.cargo/bin/sccache
- name: Check formatting and Clippy
shell: bash
run: ./ci.sh q zzz
env:
RUSTC_WRAPPER: /home/runner/.cargo/bin/sccache
CARGO_TARGET_DIR: /tmp/target
- name: Show sccache stats
run: /home/runner/.cargo/bin/sccache --show-stats