Add support for Rust 1.43 (#13)

This commit is contained in:
Armin Ronacher 2021-02-15 20:54:41 +01:00 committed by GitHub
parent d95660a260
commit b1a0b0f8a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 54 additions and 20 deletions

View file

@ -4,10 +4,15 @@ on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Run clippy
run: make lint
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
components: clippy, rustfmt
override: true
- name: Run clippy
run: make lint

View file

@ -4,10 +4,15 @@ on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Run rustfmt
run: make format-check
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
components: clippy, rustfmt
override: true
- name: Run rustfmt
run: make format-check

View file

@ -3,11 +3,30 @@ name: Tests
on: [push]
jobs:
build:
build-latest:
name: Test on Latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Test
run: make test
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
override: true
- name: Test
run: make test
build-stable:
name: Test on 1.43.0
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.43.0
profile: minimal
override: true
- name: Test
run: make test