1- name : ' Test'
1+ name : " Test"
22on :
33 push :
44 branches :
@@ -155,7 +155,7 @@ jobs:
155155 cargo check -p but --all-targets
156156 name: Special `cargo check` runs
157157 env:
158- RUSTFLAGS: ' --deny warnings'
158+ RUSTFLAGS: " --deny warnings"
159159 - name : cargo clippy
160160 run : |
161161 rustup component add clippy
@@ -216,7 +216,7 @@ jobs:
216216 run : sudo ./scripts/install-minimal-debian-dependencies.sh
217217 - run : cargo test --workspace --exclude gitbutler-tauri --exclude but-server
218218 env :
219- GITBUTLER_TESTS_NO_CLEANUP : ' 1 '
219+ GITBUTLER_TESTS_NO_CLEANUP : " 1 "
220220 # It's intentional to use 'name equals run-script' so it's easy to re-run locally on failure.
221221 - run : cargo test -p but
222222 - run : cargo test -p but-server
@@ -264,7 +264,7 @@ jobs:
264264 with :
265265 shared-key : cargo-test
266266 save-if : ${{ github.ref == 'refs/heads/master' }}
267- - name : ' cargo check'
267+ - name : " cargo check"
268268 run : cargo check --workspace --all-targets --features windows
269269
270270 build-installer :
@@ -278,16 +278,16 @@ jobs:
278278 include :
279279 - platform : macos-15 # [macOs, ARM64] - default target
280280 artifact_id : macos-15-aarch64
281- target : ' '
281+ target : " "
282282 - platform : macos-15 # [macOs, x64] - cross-compile
283283 artifact_id : macos-15-x86_64
284284 target : x86_64-apple-darwin
285285 - platform : ubuntu-22.04 # [linux, x64]
286286 artifact_id : linux-x86_64
287- target : ' '
287+ target : " "
288288 - platform : ubuntu-22.04-arm # [linux, ARM64]
289289 artifact_id : linux-aarch64
290- target : ' '
290+ target : " "
291291
292292 runs-on : ${{ matrix.platform }}
293293
@@ -317,7 +317,7 @@ jobs:
317317 - name : Upload Artifacts
318318 uses : actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
319319 with :
320- name : ' but-installer-${{ matrix.artifact_id }}-${{ github.run_number }}'
320+ name : " but-installer-${{ matrix.artifact_id }}-${{ github.run_number }}"
321321 path : target/${{matrix.target}}/release/but-installer
322322 if-no-files-found : error
323323 retention-days : 7
@@ -395,7 +395,7 @@ jobs:
395395 - name : Download ${{ matrix.artifact_id }} installer
396396 uses : actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
397397 with :
398- name : ' but-installer-${{ matrix.artifact_id }}-${{ github.run_number }}'
398+ name : " but-installer-${{ matrix.artifact_id }}-${{ github.run_number }}"
399399 path : .
400400 - run : chmod +x ./but-installer
401401 - name : Install release
@@ -420,22 +420,22 @@ jobs:
420420 - name : Download macOS x86_64 installer
421421 uses : actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
422422 with :
423- name : ' but-installer-macos-15-x86_64-${{ github.run_number }}'
423+ name : " but-installer-macos-15-x86_64-${{ github.run_number }}"
424424 path : s3-upload/macos/x86_64
425425 - name : Download macOS aarch64 installer
426426 uses : actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
427427 with :
428- name : ' but-installer-macos-15-aarch64-${{ github.run_number }}'
428+ name : " but-installer-macos-15-aarch64-${{ github.run_number }}"
429429 path : s3-upload/macos/aarch64
430430 - name : Download Linux x86_64 installer
431431 uses : actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
432432 with :
433- name : ' but-installer-linux-x86_64-${{ github.run_number }}'
433+ name : " but-installer-linux-x86_64-${{ github.run_number }}"
434434 path : s3-upload/linux/x86_64
435435 - name : Download Linux aarch64 installer
436436 uses : actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
437437 with :
438- name : ' but-installer-linux-aarch64-${{ github.run_number }}'
438+ name : " but-installer-linux-aarch64-${{ github.run_number }}"
439439 path : s3-upload/linux/aarch64
440440 - name : Make binaries executable
441441 run : |
@@ -445,17 +445,17 @@ jobs:
445445 with :
446446 aws_key_id : ${{ secrets.AWS_ACCESS_KEY_ID }}
447447 aws_secret_access_key : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
448- aws_bucket : ' releases.gitbutler.com'
449- source_dir : ' s3-upload/'
450- destination_dir : ' installers/${{ github.sha }}'
448+ aws_bucket : " releases.gitbutler.com"
449+ source_dir : " s3-upload/"
450+ destination_dir : " installers/${{ github.sha }}"
451451 - name : Upload to S3 (latest)
452452 uses : shallwefootball/s3-upload-action@4350529f410221787ccf424e50133cbc1b52704e # master
453453 with :
454454 aws_key_id : ${{ secrets.AWS_ACCESS_KEY_ID }}
455455 aws_secret_access_key : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
456- aws_bucket : ' releases.gitbutler.com'
457- source_dir : ' s3-upload/'
458- destination_dir : ' installers/latest'
456+ aws_bucket : " releases.gitbutler.com"
457+ source_dir : " s3-upload/"
458+ destination_dir : " installers/latest"
459459
460460 check-rust :
461461 if : always()
@@ -488,7 +488,7 @@ jobs:
488488 - uses : actions/checkout@v6
489489 with :
490490 persist-credentials : false
491- sparse-checkout : ' .github/workflows'
491+ sparse-checkout : " .github/workflows"
492492 - name : Generate workflows list to scan
493493 run : |
494494 shopt -s extglob
0 commit comments