From 5ee1389eca89afdf45946ad98d9e9d607f5ef21d Mon Sep 17 00:00:00 2001 From: Ana Hobden Date: Mon, 14 Nov 2022 08:31:31 -0800 Subject: [PATCH 1/4] Compress some runner jobs --- .github/workflows/ci.yml | 39 --------------------------------------- 1 file changed, 39 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b10d5b4..ce04d11 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,52 +16,13 @@ jobs: access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} - name: Check rustfmt run: nix develop --command ci-check-rustfmt - - Spelling: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: cachix/install-nix-action@v17 - with: - extra_nix_config: | - access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} - name: Check Spelling run: nix develop --command ci-check-spelling - - NixFormatting: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: cachix/install-nix-action@v17 - with: - extra_nix_config: | - access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} - name: Check nixpkgs-fmt formatting run: nix develop --command ci-check-nixpkgs-fmt - - EditorConfig: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: cachix/install-nix-action@v17 - with: - extra_nix_config: | - access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} - name: Check EditorConfig conformance run: nix develop --command ci-check-editorconfig - Test: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: cachix/install-nix-action@v17 - with: - extra_nix_config: | - access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} - - name: Run tests - run: nix develop --command ci-test-rust - # run: nix develop -c -- cargo test -- --include-ignored - BuildX86Linux: runs-on: ubuntu-latest steps: From 4732f8cd114135bfcbc9e1edc65cdddd7e4bd41d Mon Sep 17 00:00:00 2001 From: Ana Hobden Date: Mon, 14 Nov 2022 08:45:41 -0800 Subject: [PATCH 2/4] Rename jobs --- .github/workflows/ci.yml | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ce04d11..c3c3a43 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,7 +6,8 @@ on: branches: [main] jobs: - Format: + links: + name: Lints runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -23,7 +24,8 @@ jobs: - name: Check EditorConfig conformance run: nix develop --command ci-check-editorconfig - BuildX86Linux: + build-x86_64-linux: + name: Build x86_64 Linux runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -43,9 +45,10 @@ jobs: path: | result/bin/harmonic - RunX86Linux: + run-x86_64-linux: + name: Run x86_64 Linux runs-on: ubuntu-latest - needs: BuildX86Linux + needs: build-x86_64-linux steps: - uses: actions/download-artifact@v3 with: @@ -70,7 +73,8 @@ jobs: run: sudo RUST_LOG=harmonic=trace RUST_BACKTRACE=full ./harmonic uninstall --no-confirm - BuildX86Darwin: + build-x86_64-darwin: + name: Build x86_64 Darwin runs-on: macos-latest steps: - uses: actions/checkout@v3 @@ -88,7 +92,8 @@ jobs: path: | result/bin/harmonic - RunX86Darwin: + run-x86_64-darwin: + name: Run x86_64 Darwin runs-on: macos-latest needs: BuildX86Darwin steps: From d3dc8f3c9722f6daeb70bba30bf4e302cae91039 Mon Sep 17 00:00:00 2001 From: Ana Hobden Date: Mon, 14 Nov 2022 08:54:43 -0800 Subject: [PATCH 3/4] Some unsaved change --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c3c3a43..06b52d6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -95,7 +95,7 @@ jobs: run-x86_64-darwin: name: Run x86_64 Darwin runs-on: macos-latest - needs: BuildX86Darwin + needs: build-x86_64-darwin steps: - uses: actions/download-artifact@v3 with: From 35774325d8bb4190f2df7d2d411856c1bfc30c4b Mon Sep 17 00:00:00 2001 From: Ana Hobden Date: Mon, 14 Nov 2022 09:57:04 -0800 Subject: [PATCH 4/4] links -> lints --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 06b52d6..8a19302 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,7 +6,7 @@ on: branches: [main] jobs: - links: + lints: name: Lints runs-on: ubuntu-latest steps: