Développement précocePré-1.0 : la syntaxe peut évoluer.Historique des versionsGitHub

Outils de développement

Intégration continue

Copiez ce workflow dans .github/workflows/rune.yml de votre projet. Il figure aussi dans le téléchargement. Cet exemple utilise Ubuntu x86-64 et fixe la CLI à 0.3.4.

Le pipeline vérifie installation, formatage, diagnostics et tests. Les rapports JSON sont exploitables par les outils ; tout code non nul fait échouer le job. Aucun outil de cache n’est requis.

name: Rune checks
on: [push, pull_request]
permissions:
  contents: read
jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: Install Vectrune 0.3.4
        shell: bash
        run: |
          curl --fail --location --retry 3 https://github.com/davethomas11/vectrune/releases/download/v0.3.4/vectrune-linux-x86_64.tar.gz --output "$RUNNER_TEMP/vectrune.tar.gz"
          tar -xzf "$RUNNER_TEMP/vectrune.tar.gz" -C "$RUNNER_TEMP"
          chmod +x "$RUNNER_TEMP/vectrune"
          echo "$RUNNER_TEMP" >> "$GITHUB_PATH"
      - run: vectrune doctor .
      - run: vectrune fmt . --check
      - run: vectrune check . --deny-warnings
      - run: vectrune test . --json
Site entièrement créé avec Rune-Web