Skip to content

Commit

Permalink
ci: update
Browse files Browse the repository at this point in the history
  • Loading branch information
axetroy committed Mar 30, 2024
1 parent ebbd04f commit 3f5cad9
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,13 +173,13 @@ jobs:
uses: actions/checkout@v3

- name: Setup Rust toolchain
uses: actions-rs/toolchain@v2
uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: ${{ matrix.target }}

- name: cargo build
uses: actions-rs/cargo@v2
uses: actions-rs/cargo@v1
with:
command: build
args: --release --locked --target=${{ matrix.target }} ${{ matrix.cargo_flags }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/installation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:

jobs:
build:
name: ${{ matrix.kind }} ${{ matrix.os }}
name: ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:

jobs:
build:
name: ${{ matrix.kind }} ${{ matrix.os }}
name: ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
Expand Down Expand Up @@ -59,9 +59,9 @@ jobs:
target/*/.*
target/*/build
target/*/deps
key: ${{ matrix.config.os }}-${{ hashFiles('Cargo.lock') }}
key: ${{ matrix.os }}-${{ hashFiles('Cargo.lock') }}
restore-keys: |
${{ matrix.config.os }}-
${{ matrix.os }}-
- name: Run cargo fmt
run: make format-check

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: [push, pull_request]

jobs:
build:
name: ${{ matrix.kind }} ${{ matrix.os }}
name: ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
Expand Down Expand Up @@ -37,9 +37,9 @@ jobs:
target/*/.*
target/*/build
target/*/deps
key: ${{ matrix.config.os }}-${{ hashFiles('Cargo.lock') }}
key: ${{ matrix.os }}-${{ hashFiles('Cargo.lock') }}
restore-keys: |
${{ matrix.config.os }}-
${{ matrix.os }}-
- name: Run cargo test
run: |
Expand Down

0 comments on commit 3f5cad9

Please sign in to comment.