Skip to content

Bump to 0.3.0 in README #287

Bump to 0.3.0 in README

Bump to 0.3.0 in README #287

Workflow file for this run

# https://github.com/NixOS/nixos-artwork/blob/35ebbbf01c3119005ed180726c388a01d4d1100c/logo/README.md#L5
name: ❄️
on:
push:
tags:
# Do not add v prefix: https://github.com/dprint/plugins/blob/75a3755b8734eee294214a7d7efc18145668a99f/README.md?plain=1#L27
# https://github.com/actions/runner/issues/1699#issuecomment-1046796067
- '[0-9]+.[0-9]+.[0-9]+'
branches: [main]
paths:
- '.github/workflows/nix.yml'
- '**.nix'
- 'flake.*'
- '**.rs'
- 'Cargo.*'
- 'example'
- 'Taskfile.yml'
pull_request:
paths:
- '.github/workflows/nix.yml'
- '**.nix'
- 'flake.*'
- '**.rs'
- 'Cargo.*'
- 'example'
- 'Taskfile.yml'
schedule:
# Every 10:42 JST
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule
- cron: '42 1 * * *'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-24.04
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@e50d5f73bfe71c2dd0aa4218de8f4afa59f8f81d # v16
- uses: Swatinem/rust-cache@f0deed1e0edfc6a9be95417288c0e1099b1eeec3 # v2
- run: nix develop --command task build
- name: Upload WASM file as an artifact
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
with:
if-no-files-found: error
name: 'dist'
path: |
target/wasm32-unknown-unknown/release/dprint_plugin_typstyle.wasm
deployment/schema.json
flake:
runs-on: ubuntu-24.04
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@e50d5f73bfe71c2dd0aa4218de8f4afa59f8f81d # v16
- run: nix develop --command echo 'This step should be done before any other "nix develop" steps because of measuring Nix build time'
- run: nix flake check
- run: nix flake show
- run: nix develop --command task deps
- uses: Swatinem/rust-cache@f0deed1e0edfc6a9be95417288c0e1099b1eeec3 # v2
- run: nix develop --command task validate-jsonschema
CICD:
needs: [build, flake]
uses: ./.github/workflows/CICD.yml
with:
run_id: '${{ github.run_id }}'
release: ${{ startsWith(github.ref, 'refs/tags/') }}