Skip to content

Commit

Permalink
Bump MSRV to 1.63.0, format ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
DervexDev committed May 3, 2024
1 parent 7ead43d commit 4f952d1
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ name: CI
on:
push:
branches:
- main
- main

pull_request:
branches:
- main
- main

jobs:
build:
Expand All @@ -17,40 +17,40 @@ jobs:
strategy:
fail-fast: false
matrix:
rust_version: [stable, 1.60.0]
rust_version: [stable, 1.63.0]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v3

- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust_version }}
override: true
profile: minimal
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust_version }}
override: true
profile: minimal

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

- name: Test
run: cargo test --locked --verbose
- name: Test
run: cargo test --locked --verbose

lint:
name: Rustfmt and Clippy
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v3

- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
components: rustfmt, clippy
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
components: rustfmt, clippy

- name: Rustfmt
run: cargo fmt -- --check
- name: Rustfmt
run: cargo fmt -- --check

- name: Clippy
run: cargo clippy
- name: Clippy
run: cargo clippy

0 comments on commit 4f952d1

Please sign in to comment.