mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
make temp folder on ci lint actions
Signed-off-by: Jerens Lensun <jerensslensun@gmail.com>
This commit is contained in:
parent
033651f263
commit
5ea329855d
1 changed files with 6 additions and 5 deletions
11
.github/workflows/lint.yml
vendored
11
.github/workflows/lint.yml
vendored
|
@ -47,14 +47,15 @@ jobs:
|
|||
- name: Give permission to script
|
||||
run: |
|
||||
chmod +x ./etc/ci/clippy-annotation.sh
|
||||
- name: Clippy
|
||||
run: |
|
||||
./mach clippy --message-format=json --use-crown --locked -- -- --deny warnings | ./etc/ci/clippy-annotation.sh > temp/clippy-output.json
|
||||
- name: Save PR number
|
||||
- name: Save PR number & Create temp directory
|
||||
if: ${{ !cancelled() }}
|
||||
run: |
|
||||
mkdir -p ./pr
|
||||
echo ${{ github.event.number }} > ./pr/number
|
||||
mkdir -p ./temp
|
||||
echo ${{ github.event.number }} > ./pr/number
|
||||
- name: Clippy
|
||||
run: |
|
||||
./mach clippy --message-format=json --use-crown --locked -- -- --deny warnings | ./etc/ci/clippy-annotation.sh > temp/clippy-output.json
|
||||
- name: Clippy linter result
|
||||
if: ${{ !cancelled() }}
|
||||
uses: actions/upload-artifact@v4.6.1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue