diff --git a/.github/actions/setup-dev/action.yml b/.github/actions/setup-dev/action.yml index 817ad94..88ea594 100644 --- a/.github/actions/setup-dev/action.yml +++ b/.github/actions/setup-dev/action.yml @@ -34,5 +34,10 @@ runs: run: npm ci || { echo "โŒ npm install failed" && npm install } shell: bash - - name: Setup Tree-sitter Environment - uses: ./.github/actions/setup-treesitter + - name: Install Tree-sitter CLI + run: npm install -g tree-sitter-cli + shell: bash + + - name: Generate Grammar + run: npm run generate + shell: bash diff --git a/.github/actions/setup-treesitter/action.yml b/.github/actions/setup-treesitter/action.yml deleted file mode 100644 index 969f521..0000000 --- a/.github/actions/setup-treesitter/action.yml +++ /dev/null @@ -1,14 +0,0 @@ ---- -name: "Setup Tree-sitter Environment" -description: "Installs Tree-sitter CLI and generates grammar" - -runs: - using: "composite" - steps: - - name: Install Tree-sitter CLI - run: npm install -g tree-sitter-cli - shell: bash - - - name: Generate Grammar - run: npm run generate - shell: bash diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bb5675a..49f442e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,6 +18,17 @@ concurrency: cancel-in-progress: false jobs: + checkout: + name: Checkout Repository + runs-on: ubuntu-latest + timeout-minutes: 5 + + steps: + - name: Checkout Code + uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 + with: + fetch-depth: 0 + validate: name: ๐Ÿ” Validate Release runs-on: ubuntu-latest @@ -64,7 +75,7 @@ jobs: steps: - name: ๐Ÿ“‹ Check CI Workflow Status - uses: actions/github-script@e1ec48de9e3eaf9b93b1c5f88eaf97ae19d7b7bb # v7.0.5 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 with: script: | const { data: workflows } = await github.rest.actions.listWorkflowRuns({ diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5f11ff3..b85fd90 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,6 +16,17 @@ concurrency: permissions: read-all jobs: + checkout: + name: Checkout Repository + runs-on: ubuntu-latest + timeout-minutes: 5 + + steps: + - name: Checkout Code + uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 + with: + fetch-depth: 0 + test: name: ๐Ÿงช Test Suite runs-on: ubuntu-latest