From 07bacb02f56d89b765da429427c536d588637cda Mon Sep 17 00:00:00 2001 From: Willians Faria Date: Wed, 2 Oct 2024 10:09:10 -0300 Subject: [PATCH] chore: updating github actions workflows --- .github/dependabot.yaml | 32 -------------------------------- .github/workflows/general.yml | 10 ++++++---- .github/workflows/vhs.yml | 2 +- .gitignore | 1 + Justfile | 2 +- 5 files changed, 9 insertions(+), 38 deletions(-) delete mode 100644 .github/dependabot.yaml diff --git a/.github/dependabot.yaml b/.github/dependabot.yaml deleted file mode 100644 index 72f6bb0..0000000 --- a/.github/dependabot.yaml +++ /dev/null @@ -1,32 +0,0 @@ -# Please see the documentation for all configuration options: -# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates -version: 2 -updates: - - package-ecosystem: "github-actions" - directory: "/" - schedule: - interval: "weekly" - - package-ecosystem: "cargo" - directory: "/" - schedule: - interval: "weekly" - - package-ecosystem: "cargo" - directory: "/hac-cli" - schedule: - interval: "weekly" - - package-ecosystem: "cargo" - directory: "/hac-client" - schedule: - interval: "weekly" - - package-ecosystem: "cargo" - directory: "/hac-colors" - schedule: - interval: "weekly" - - package-ecosystem: "cargo" - directory: "/hac-config" - schedule: - interval: "weekly" - - package-ecosystem: "cargo" - directory: "/hac-core" - schedule: - interval: "weekly" diff --git a/.github/workflows/general.yml b/.github/workflows/general.yml index cb137d4..17cdc1f 100755 --- a/.github/workflows/general.yml +++ b/.github/workflows/general.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: dtolnay/rust-toolchain@stable + - uses: dtolnay/rust-toolchain@nightly - uses: Swatinem/rust-cache@v2 - uses: extractions/setup-just@v2 - name: Run tests @@ -22,17 +22,19 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: dtolnay/rust-toolchain@stable + - uses: dtolnay/rust-toolchain@nightly - uses: extractions/setup-just@v2 - name: Enforce formatting - run: just fmt + run: | + rustup component add rustfmt + just fmt clippy: name: Clippy runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: dtolnay/rust-toolchain@stable + - uses: dtolnay/rust-toolchain@nightly with: components: clippy - uses: Swatinem/rust-cache@v2 diff --git a/.github/workflows/vhs.yml b/.github/workflows/vhs.yml index c0eb2b2..6bb5719 100644 --- a/.github/workflows/vhs.yml +++ b/.github/workflows/vhs.yml @@ -24,5 +24,5 @@ jobs: git add extra/*.gif git config --global user.name "vhs-action" git config --global user.email "actions@github.com" - git commit -m "Updated vhs [skip ci]" || true + git commit -m "chore(ci): updated vhs tapes [skip ci]" || true git push diff --git a/.gitignore b/.gitignore index 92162c1..27ce7e1 100755 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ hac.log tarpaulin-report.html mutants.out* +.vscode diff --git a/Justfile b/Justfile index 5e868e8..bb8b737 100755 --- a/Justfile +++ b/Justfile @@ -20,7 +20,7 @@ build-time: cargo +nightly build -Z timings fmt: - cargo fmt --check + cargo +nightly fmt --check lint: cargo clippy -- -D warnings