Skip to content

Commit a044ef3

Browse files
ci({golang,zig}_validation): remove unnecessary if for some steps
Remnants of copying and pasting from packages workflow
1 parent ec06755 commit a044ef3

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

.github/workflows/golang_validation.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,19 +44,16 @@ jobs:
4444
with:
4545
fetch-depth: 1
4646
- name: Enable zram
47-
if: ${{ steps.build-info.outputs.skip-building != 'true' }}
4847
uses: ./.github/actions/zram
4948
with:
5049
algorithm: zstd
5150
size: 16G
5251
priority: 100
5352
device_name: /dev/zram0
5453
- name: Load Docker image
55-
if: ${{ steps.build-info.outputs.free-space == 'true' && steps.build-info.outputs.skip-building != 'true' }}
5654
run: |
5755
./scripts/run-docker.sh echo ""
58-
- name: Free additional disk space (if needed)
59-
if: ${{ steps.build-info.outputs.free-space == 'true' && steps.build-info.outputs.skip-building != 'true' }}
56+
- name: Free additional disk space
6057
run: |
6158
./scripts/free-space.sh
6259
- name: Golang validation

.github/workflows/zig_validation.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,19 +44,16 @@ jobs:
4444
with:
4545
fetch-depth: 1
4646
- name: Enable zram
47-
if: ${{ steps.build-info.outputs.skip-building != 'true' }}
4847
uses: ./.github/actions/zram
4948
with:
5049
algorithm: zstd
5150
size: 16G
5251
priority: 100
5352
device_name: /dev/zram0
5453
- name: Load Docker image
55-
if: ${{ steps.build-info.outputs.free-space == 'true' && steps.build-info.outputs.skip-building != 'true' }}
5654
run: |
5755
./scripts/run-docker.sh echo ""
58-
- name: Free additional disk space (if needed)
59-
if: ${{ steps.build-info.outputs.free-space == 'true' && steps.build-info.outputs.skip-building != 'true' }}
56+
- name: Free additional disk space
6057
run: |
6158
./scripts/free-space.sh
6259
- name: Zig validation

0 commit comments

Comments
 (0)