diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 91e1ad9c0..a64a93119 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -40,7 +40,6 @@ jobs: images: | kcarretto/tavern ${{ env.GHCR_REGISTRY }}/${{ env.GHCR_IMAGE_NAME }} - - name: Build and push Docker image uses: docker/build-push-action@v4 @@ -50,4 +49,4 @@ jobs: push: true target: production tags: ${{ steps.meta.outputs.tags }} - labels: ${{ steps.meta.outputs.labels }} + labels: ${{ steps.meta.outputs.labels }} \ No newline at end of file diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0fdd30e4c..8a9523d86 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -43,20 +43,20 @@ jobs: - windows-latest steps: - uses: actions/checkout@v3 - - name: ⚡ Cache - uses: actions/cache@v3 - with: - path: | - ~/.cargo/registry - ~/.cargo/git - target - key: ${{ runner.os }}-imix-cargo-${{ hashFiles('**/Cargo.lock') }} - restore-keys: | - ${{ runner.os }}-imix-cargo- - if: matrix.os == 'windows-latest' run: start-process -filepath powershell -ArgumentList '/c','Set-MpPreference -DisableRealtimeMonitoring $true' -verb RunAs name: 👾 Disable defender shell: powershell + - name: Setup Rust + uses: actions-rs/toolchain@v1 + with: + toolchain: nightly-2022-11-03 + default: true + profile: minimal + - name: rust-cache + uses: Swatinem/rust-cache@v2 + with: + workspaces: "./implants/imix -> ../target" - name: 🔨 Build run: cd implants/imix && cargo build --verbose - name: 🔎 Run tests @@ -64,7 +64,7 @@ jobs: eldritch: runs-on: ${{ matrix.os }} - timeout-minutes: 10 + timeout-minutes: 15 strategy: matrix: os: @@ -73,20 +73,20 @@ jobs: - windows-latest steps: - uses: actions/checkout@v3 - - name: ⚡ Cache - uses: actions/cache@v3 - with: - path: | - ~/.cargo/registry - ~/.cargo/git - target - key: ${{ runner.os }}-eldritch-cargo-${{ hashFiles('**/Cargo.lock') }} - restore-keys: | - ${{ runner.os }}-eldritch-cargo- - if: matrix.os == 'windows-latest' run: start-process -filepath powershell -ArgumentList '/c','Set-MpPreference -DisableRealtimeMonitoring $true' -verb RunAs name: 👾 Disable defender shell: powershell + - name: Setup Rust + uses: actions-rs/toolchain@v1 + with: + toolchain: nightly-2022-11-03 + default: true + profile: minimal + - name: rust-cache + uses: Swatinem/rust-cache@v2 + with: + workspaces: "./implants/eldritch -> ../target" - name: 🔨 Build run: cd implants/eldritch && cargo build --verbose - name: 🔎 Run tests