Skip to content

Allow different versions of static files #5

Allow different versions of static files

Allow different versions of static files #5

Workflow file for this run

name: CI
on:
push:
tags:
- "v*"
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@1.82.0
- name: Build
run: cargo build
- name: Run tests
run: cargo test
- name: Build without default features
run: cargo build --no-default-features
- name: Run tests without default features
run: cargo test --no-default-features --lib
- name: Build with change detection
run: cargo build --no-default-features --features change-detection
- name: Run tests with change detection
run: cargo test --no-default-features --features change-detection
- name: Build with all features
run: cargo build --all-features
publish:
name: Publish
if: startsWith( github.ref, 'refs/tags/v' )
uses: ./.github/workflows/release.yml
needs: build
secrets: inherit