From e6f02664b7a630b6d68b72f0653b7353fe8345d7 Mon Sep 17 00:00:00 2001 From: Paul van Tilburg Date: Tue, 21 Mar 2023 10:48:11 +0100 Subject: [PATCH] Tweak the cargo workflow a bit more - Run using the `debian-latest` image - Use local `actions/checkout` where possible - Small reordering --- .gitea/workflows/cargo.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/cargo.yml b/.gitea/workflows/cargo.yml index 35609b5..619920e 100644 --- a/.gitea/workflows/cargo.yml +++ b/.gitea/workflows/cargo.yml @@ -1,14 +1,14 @@ name: "Check, Test and Lint Using Cargo" on: - - workflow_dispatch - push - pull_request + - workflow_dispatch jobs: check: name: Check - runs-on: ubuntu-latest + runs-on: debian-latest steps: - name: Checkout sources uses: actions/checkout@v3 @@ -27,10 +27,10 @@ jobs: test: name: Test Suite - runs-on: ubuntu-latest + runs-on: debian-latest steps: - name: Checkout sources - uses: https://github.com/actions/checkout@v3 + uses: actions/checkout@v3 - name: Install stable toolchain uses: https://github.com/actions-rs/toolchain@v1 @@ -47,7 +47,7 @@ jobs: lints: name: Lints - runs-on: ubuntu-latest + runs-on: debian-latest steps: - name: Checkout sources uses: actions/checkout@v3