Compare commits
7 Commits
dd0bbbe479
...
c31f9b5c0d
| Author | SHA1 | Date | |
|---|---|---|---|
| c31f9b5c0d | |||
| b334e3a87f | |||
| 9625fa524d | |||
| 6d064c6fd7 | |||
| b87d5e5fc6 | |||
| 4c49e2b861 | |||
| 1b8b505618 |
@@ -6,10 +6,15 @@ jobs:
|
|||||||
grammar-tests:
|
grammar-tests:
|
||||||
name: Grammar Tests
|
name: Grammar Tests
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
|
env:
|
||||||
|
GH_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
||||||
|
ACTION_STEP_DEBUG: true
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
- uses: tree-sitter/setup-action@v2
|
- uses: cerfcast/setup-action@886f0ab373105625f5af268677bc715050fcc105
|
||||||
|
with:
|
||||||
|
tree-sitter-ref: 8d737aa238084f9a51f1e97c195a362419beee8d
|
||||||
# Because our tree-sitter code is in a subdirectory,
|
# Because our tree-sitter code is in a subdirectory,
|
||||||
# and working-directory does not apply to uses, we
|
# and working-directory does not apply to uses, we
|
||||||
# are forced to specify calls to the CI ourselves.
|
# are forced to specify calls to the CI ourselves.
|
||||||
@@ -49,4 +54,17 @@ jobs:
|
|||||||
- run: tree-sitter generate
|
- run: tree-sitter generate
|
||||||
working-directory: ./tree-sitter-p4
|
working-directory: ./tree-sitter-p4
|
||||||
- run: ./ci/format.sh
|
- run: ./ci/format.sh
|
||||||
|
Explore-Gitea-Actions:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
|
||||||
|
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
|
||||||
|
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
|
||||||
|
- name: Check out repository code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
|
||||||
|
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
|
||||||
|
- name: List files in the repository
|
||||||
|
run: |
|
||||||
|
ls ${{ gitea.workspace }}
|
||||||
|
- run: echo "🍏 This job's status is ${{ job.status }}."
|
||||||
|
|||||||
Reference in New Issue
Block a user