Skip to content

Commit ce45775

Browse files
committed
Change /tmp to runner.temp
1 parent c6a1f3a commit ce45775

9 files changed

Lines changed: 18 additions & 18 deletions

.github/workflows/c-cpp-duplication-template.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ jobs:
3232
- name: Download Simian
3333
working-directory: ${{ inputs.working-directory }}
3434
run: |
35-
curl -sS -L --retry 3 -o /tmp/simian.jar \
35+
curl -sS -L --retry 3 -o ${{ runner.temp }}/simian.jar \
3636
http://public.yegor256.com/simian.jar
3737
- name: Check C/C++ code duplication
3838
working-directory: ${{ inputs.working-directory }}
3939
run: |
40-
java -jar /tmp/simian.jar -threshold=16 \
40+
java -jar ${{ runner.temp }}/simian.jar -threshold=16 \
4141
-ignoreBlocks="simian-off:simian-on" "**/*.{c,cpp}"

.github/workflows/css-duplication-template.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ jobs:
3232
- name: Download Simian
3333
working-directory: ${{ inputs.working-directory }}
3434
run: |
35-
curl -sS -L --retry 3 -o /tmp/simian.jar \
35+
curl -sS -L --retry 3 -o ${{ runner.temp }}/simian.jar \
3636
http://public.yegor256.com/simian.jar
3737
- name: Check CSS code duplication
3838
working-directory: ${{ inputs.working-directory }}
3939
run: |
40-
java -jar /tmp/simian.jar -threshold=16 \
40+
java -jar ${{ runner.temp }}/simian.jar -threshold=16 \
4141
-ignoreBlocks="simian-off:simian-on" "**/*.css"

.github/workflows/html-duplication-template.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ jobs:
3232
- name: Download Simian
3333
working-directory: ${{ inputs.working-directory }}
3434
run: |
35-
curl -sS -L --retry 3 -o /tmp/simian.jar \
35+
curl -sS -L --retry 3 -o ${{ runner.temp }}/simian.jar \
3636
http://public.yegor256.com/simian.jar
3737
- name: Check HTML code duplication
3838
working-directory: ${{ inputs.working-directory }}
3939
run: |
40-
java -jar /tmp/simian.jar -threshold=16 \
40+
java -jar ${{ runner.temp }}/simian.jar -threshold=16 \
4141
-ignoreBlocks="simian-off:simian-on" "**/*.{html,htm}"

.github/workflows/java-duplication-template.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ jobs:
3232
- name: Download Simian
3333
working-directory: ${{ inputs.working-directory }}
3434
run: |
35-
curl -sS -L --retry 3 -o /tmp/simian.jar \
35+
curl -sS -L --retry 3 -o ${{ runner.temp }}/simian.jar \
3636
http://public.yegor256.com/simian.jar
3737
- name: Check Java code duplication
3838
working-directory: ${{ inputs.working-directory }}
3939
run: |
40-
java -jar /tmp/simian.jar -threshold=16 \
40+
java -jar ${{ runner.temp }}/simian.jar -threshold=16 \
4141
-ignoreBlocks="simian-off:simian-on" "-excludes=**/it" "**/*.java"

.github/workflows/js-duplication-template.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ jobs:
3232
- name: Download Simian
3333
working-directory: ${{ inputs.working-directory }}
3434
run: |
35-
curl -sS -L --retry 3 -o /tmp/simian.jar \
35+
curl -sS -L --retry 3 -o ${{ runner.temp }}/simian.jar \
3636
http://public.yegor256.com/simian.jar
3737
- name: Check JavaScript code duplication
3838
working-directory: ${{ inputs.working-directory }}
3939
run: |
40-
java -jar /tmp/simian.jar -threshold=16 \
40+
java -jar ${{ runner.temp }}/simian.jar -threshold=16 \
4141
-ignoreBlocks="simian-off:simian-on" "**/*.js"

.github/workflows/python-duplication-template.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ jobs:
3232
- name: Download Simian
3333
working-directory: ${{ inputs.working-directory }}
3434
run: |
35-
curl -sS -L --retry 3 -o /tmp/simian.jar \
35+
curl -sS -L --retry 3 -o ${{ runner.temp }}/simian.jar \
3636
http://public.yegor256.com/simian.jar
3737
- name: Check Python code duplication
3838
working-directory: ${{ inputs.working-directory }}
3939
run: |
40-
java -jar /tmp/simian.jar -threshold=16 \
40+
java -jar ${{ runner.temp }}/simian.jar -threshold=16 \
4141
-ignoreBlocks="simian-off:simian-on" "**/*.py"

.github/workflows/scss-duplication-template.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ jobs:
3232
- name: Download Simian
3333
working-directory: ${{ inputs.working-directory }}
3434
run: |
35-
curl -sS -L --retry 3 -o /tmp/simian.jar \
35+
curl -sS -L --retry 3 -o ${{ runner.temp }}/simian.jar \
3636
http://public.yegor256.com/simian.jar
3737
- name: Check SCSS code duplication
3838
working-directory: ${{ inputs.working-directory }}
3939
run: |
40-
java -jar /tmp/simian.jar -threshold=16 \
40+
java -jar ${{ runner.temp }}/simian.jar -threshold=16 \
4141
-ignoreBlocks="simian-off:simian-on" "**/*.{scss,sass}"

.github/workflows/ts-duplication-template.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ jobs:
3232
- name: Download Simian
3333
working-directory: ${{ inputs.working-directory }}
3434
run: |
35-
curl -sS -L --retry 3 -o /tmp/simian.jar \
35+
curl -sS -L --retry 3 -o ${{ runner.temp }}/simian.jar \
3636
http://public.yegor256.com/simian.jar
3737
- name: Check TypeScript code duplication
3838
working-directory: ${{ inputs.working-directory }}
3939
run: |
40-
java -jar /tmp/simian.jar -threshold=16 \
40+
java -jar ${{ runner.temp }}/simian.jar -threshold=16 \
4141
-ignoreBlocks="simian-off:simian-on" "**/*.ts"

.github/workflows/xml-duplication-template.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ jobs:
3232
- name: Download Simian
3333
working-directory: ${{ inputs.working-directory }}
3434
run: |
35-
curl -sS -L --retry 3 -o /tmp/simian.jar \
35+
curl -sS -L --retry 3 -o ${{ runner.temp }}/simian.jar \
3636
http://public.yegor256.com/simian.jar
3737
- name: Check XML duplication
3838
working-directory: ${{ inputs.working-directory }}
3939
run: |
40-
java -jar /tmp/simian.jar -threshold=16 \
40+
java -jar ${{ runner.temp }}/simian.jar -threshold=16 \
4141
-ignoreBlocks="simian-off:simian-on" "**/*.xml"

0 commit comments

Comments
 (0)