Skip to content

Commit

Permalink
Update CI to use Rust v1.79.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanfowler committed Jul 23, 2024
1 parent 3fa4fb2 commit dfc536b
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,30 @@ name: Continuous Integration

on:
push:
branches: [ main ]
branches: [main]
pull_request:
branches: [ main ]
branches: [main]

env:
RUST_VERSION: "1.72.0"
RUST_VERSION: "1.79.0"

jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v2

- name: Setup Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ env.RUST_VERSION }}
components: clippy, rustfmt
- name: Setup Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ env.RUST_VERSION }}
components: clippy, rustfmt

- name: Format
run: cargo fmt --all -- --check
- name: Format
run: cargo fmt --all -- --check

- name: Clippy
run: cargo clippy -- -D warnings
- name: Clippy
run: cargo clippy -- -D warnings

- name: Test
run: cargo test
- name: Test
run: cargo test

0 comments on commit dfc536b

Please sign in to comment.