From f653750935ae6b641ddb80244746ee0a7ba0dce4 Mon Sep 17 00:00:00 2001 From: Maddison Hellstrom Date: Wed, 16 Oct 2024 12:24:42 -0700 Subject: [PATCH] fix: ci --- .github/workflows/ci.yml | 26 +++----------------- .github/workflows/release.yml | 46 +++++++++++++++++------------------ 2 files changed, 26 insertions(+), 46 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e267804..6926493 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,9 +36,7 @@ jobs: uses: tree-sitter/setup-action/cli@v1 - name: Set up examples run: |- - git clone https://github.com/bazelbuild/starlark examples/starlark --single-branch --depth=1 --filter=blob:none - git clone https://github.com/mcuadros/ascode examples/ascode --single-branch --depth=1 --filter=blob:none - git clone https://github.com/cruise-automation/isopod examples/isopod --single-branch --depth=1 --filter=blob:none + git clone https://github.com/cython/cython Demos --single-branch --depth=1 --filter=blob:none - name: Run tests uses: tree-sitter/parser-test-action@v2 with: @@ -48,23 +46,5 @@ jobs: uses: tree-sitter/parse-action@v4 with: files: | - examples/**/*.bzl - examples/**/*.star - examples/**/*.ipd - !examples/starlark/test_suite/testdata/go/assign.star - !examples/starlark/test_suite/testdata/go/builtins.star - !examples/starlark/test_suite/testdata/go/dict.star - !examples/starlark/test_suite/testdata/go/function.star - !examples/starlark/test_suite/testdata/go/int.star - !examples/starlark/test_suite/testdata/go/list.star - !examples/starlark/test_suite/testdata/go/misc.star - !examples/starlark/test_suite/testdata/go/string.star - !examples/starlark/test_suite/testdata/go/tuple.star - !examples/starlark/test_suite/testdata/java/dict.star - !examples/starlark/test_suite/testdata/java/list_mutation.star - !examples/starlark/test_suite/testdata/java/min_max.star - !examples/starlark/test_suite/testdata/java/reversed.star - !examples/starlark/test_suite/testdata/java/string_slice_index.star - !examples/starlark/test_suite/testdata/rust/int.star - !examples/starlark/test_suite/testdata/rust/josharian_fuzzing.star - !examples/starlark/test_suite/testdata/rust/mutation_during_iteration.star + examples/**/*.pyx + examples/**/*.pxd diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cb7e16b..bb4e5c7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,23 +1,23 @@ -name: Publish packages - -on: - push: - tags: ["*"] - -concurrency: - group: ${{github.workflow}}-${{github.ref}} - cancel-in-progress: true - -jobs: - npm: - uses: tree-sitter/workflows/.github/workflows/package-npm.yml@main - secrets: - NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} - crates: - uses: tree-sitter/workflows/.github/workflows/package-crates.yml@main - secrets: - CARGO_REGISTRY_TOKEN: ${{secrets.CARGO_REGISTRY_TOKEN}} - pypi: - uses: tree-sitter/workflows/.github/workflows/package-pypi.yml@main - secrets: - PYPI_API_TOKEN: ${{secrets.PYPI_API_TOKEN}} +# name: Publish packages +# +# on: +# push: +# tags: ["*"] +# +# concurrency: +# group: ${{github.workflow}}-${{github.ref}} +# cancel-in-progress: true +# +# jobs: +# npm: +# uses: tree-sitter/workflows/.github/workflows/package-npm.yml@main +# secrets: +# NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} +# crates: +# uses: tree-sitter/workflows/.github/workflows/package-crates.yml@main +# secrets: +# CARGO_REGISTRY_TOKEN: ${{secrets.CARGO_REGISTRY_TOKEN}} +# pypi: +# uses: tree-sitter/workflows/.github/workflows/package-pypi.yml@main +# secrets: +# PYPI_API_TOKEN: ${{secrets.PYPI_API_TOKEN}}