Rust library to generate static websites
5
fork

Configure Feed

Select the types of activity you want to include in your feed.

ci: test

+62
+62
.github/workflows/ci.yaml
··· 1 + name: CI 2 + 3 + on: 4 + workflow_dispatch: 5 + push: 6 + branches: 7 + - main 8 + 9 + pull_request: 10 + 11 + # Automatically cancel older in-progress jobs on the same branch 12 + concurrency: 13 + group: ${{ github.workflow }}-${{ github.event_name == 'pull_request_target' && github.head_ref || github.ref }} 14 + cancel-in-progress: true 15 + defaults: 16 + run: 17 + shell: bash 18 + 19 + env: 20 + RUSTFLAGS: "-Dwarnings" 21 + 22 + jobs: 23 + lint: 24 + runs-on: ubuntu-latest 25 + steps: 26 + - name: Checkout 27 + uses: actions/checkout@v4 28 + 29 + - name: Setup Rust 30 + uses: moonrepo/setup-rust@v1 31 + 32 + - name: Run Clippy 33 + run: cargo clippy --all-targets --all-features 34 + 35 + build: 36 + name: Build 37 + runs-on: ubuntu-latest 38 + steps: 39 + - name: Checkout 40 + uses: actions/checkout@v4 41 + 42 + - name: Setup Rust 43 + uses: moonrepo/setup-rust@v1 44 + 45 + - name: Build 46 + run: cargo build 47 + 48 + test: 49 + name: Test 50 + runs-on: ubuntu-latest 51 + steps: 52 + - name: Checkout 53 + uses: actions/checkout@v4 54 + 55 + - name: Setup Rust 56 + uses: moonrepo/setup-rust@v1 57 + 58 + - name: Build 59 + run: cargo build 60 + 61 + - name: Test 62 + run: cargo test