Skip to content

chore:clean up links #37

chore:clean up links

chore:clean up links #37

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
env:
CARGO_TERM_COLOR: always
RUSTFLAGS: -Dwarnings
jobs:
check:
name: Check, Lint & Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- uses: extractions/setup-just@v2
- uses: Swatinem/rust-cache@v2
- name: Run checks
run: just check
external-templates:
name: External Template Compatibility
runs-on: ubuntu-latest
needs: [check]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: extractions/setup-just@v2
- uses: Swatinem/rust-cache@v2
- name: Build diecut
run: just build
- name: Test cookiecutter-pypackage
run: |
git clone --depth 1 https://github.com/audreyfeldroy/cookiecutter-pypackage.git /tmp/cc-pypackage
./target/release/diecut new /tmp/cc-pypackage --defaults --output /tmp/out-pypackage || echo "::warning::cookiecutter-pypackage failed (may use unsupported features)"
- name: Test cookiecutter-django
run: |
git clone --depth 1 https://github.com/cookiecutter/cookiecutter-django.git /tmp/cc-django
./target/release/diecut new /tmp/cc-django --defaults --output /tmp/out-django || echo "::warning::cookiecutter-django failed (may use unsupported features)"
- name: Test cookiecutter-golang
run: |
git clone --depth 1 https://github.com/lacion/cookiecutter-golang.git /tmp/cc-golang
./target/release/diecut new /tmp/cc-golang --defaults --output /tmp/out-golang || echo "::warning::cookiecutter-golang failed (may use unsupported features)"