Skip to content

Workaround for lang_items now being compiler-internal #75

Workaround for lang_items now being compiler-internal

Workaround for lang_items now being compiler-internal #75

Workflow file for this run

# Rust CI
on: [push, pull_request]
name: Rust CI
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Install nightly toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
components: rust-src
- name: Run cargo build
uses: actions-rs/cargo@v1
with:
toolchain: nightly
command: build
lints:
name: Lints
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Install nightly toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
components: rustfmt, clippy, rust-src
- name: Run cargo fmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
- name: Run cargo clippy
uses: actions-rs/cargo@v1
with:
command: clippy