|
1 | 1 | # Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/check-general-formatting-task.md
|
2 | 2 | name: Check General Formatting
|
3 | 3 |
|
4 | | -# See: https://docs.github.com/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows |
| 4 | +# See: https://docs.github.com/actions/reference/workflows-and-actions/events-that-trigger-workflows |
5 | 5 | on:
|
6 | 6 | create:
|
7 | 7 | push:
|
|
47 | 47 | steps:
|
48 | 48 | - name: Set environment variables
|
49 | 49 | run: |
|
50 | | - # See: https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#setting-an-environment-variable |
| 50 | + # See: https://docs.github.com/actions/reference/workflows-and-actions/workflow-commands#setting-an-environment-variable |
51 | 51 | echo "EC_INSTALL_PATH=${{ runner.temp }}/editorconfig-checker" >>"$GITHUB_ENV"
|
52 | 52 |
|
53 | 53 | - name: Checkout repository
|
|
82 | 82 | "${{ env.EC_INSTALL_PATH }}/bin/ec"
|
83 | 83 |
|
84 | 84 | # Add installation to PATH:
|
85 | | - # See: https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-system-path |
| 85 | + # See: https://docs.github.com/actions/reference/workflows-and-actions/workflow-commands#adding-a-system-path |
86 | 86 | echo "${{ env.EC_INSTALL_PATH }}/bin" >>"$GITHUB_PATH"
|
87 | 87 |
|
88 | 88 | - name: Check formatting
|
|
0 commit comments