Skip to content

Commit

Permalink
ci: mkroening/rust-toolchain-tomldtolnay/rust-toolchain に置き換える (
Browse files Browse the repository at this point in the history
  • Loading branch information
m1sk9 authored Jul 9, 2024
1 parent 2e70c0b commit 5124405
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 129 deletions.
32 changes: 0 additions & 32 deletions .github/labels.yml

This file was deleted.

11 changes: 4 additions & 7 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
],
"addLabels": [
"renovate"
]
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended"],
"addLabels": ["renovate"],
"automerge": true
}
23 changes: 0 additions & 23 deletions .github/workflows/auto-label-sync.yml

This file was deleted.

21 changes: 14 additions & 7 deletions .github/workflows/build.yaml → .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
name: Build babyrite
name: CI

on:
push:
branches:
- main
- 'release/v*.*.*'
pull_request:
branches:
- main
- 'release/v*.*.*'

jobs:
build:
Expand All @@ -17,14 +15,23 @@ jobs:
steps:
- name: Checkout branch
uses: actions/checkout@v4

- name: Setup toolchain
uses: mkroening/[email protected]

uses: dtolnay/rust-toolchain@stable
with:
components: clippy, rustfmt

- name: Setup cache
uses: Swatinem/rust-cache@v2
with:
prefix-key: "babyrite/gh-actions-cache"


- name: Run rustfmt
run: cargo fmt --all -- --check

- name: Run clippy
run: cargo clippy --all-targets --all-features

- name: Run Build
run: cargo build --verbose

30 changes: 0 additions & 30 deletions .github/workflows/clippy.yaml

This file was deleted.

30 changes: 0 additions & 30 deletions .github/workflows/fmt.yaml

This file was deleted.

0 comments on commit 5124405

Please sign in to comment.