diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 23c3a4d9..37b333cb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,9 +28,7 @@ jobs: override: true - name: Checkout uses: actions/checkout@v3 - - name: Copy MSRV Lock - run: make msrv-lock - - name: Build + - name: Check env: CARGO_BUILD_TARGET: ${{ matrix.target }} run: make check @@ -136,8 +134,6 @@ jobs: curl -LO https://github.com/bytecodealliance/wasmtime/releases/download/v4.0.0/wasmtime-v4.0.0-x86_64-linux.tar.xz tar xvf wasmtime-v4.0.0-x86_64-linux.tar.xz echo `pwd`/wasmtime-v4.0.0-x86_64-linux >> $GITHUB_PATH - - name: Copy MSRV Lock - run: make msrv-lock - name: Test env: CARGO_BUILD_TARGET: ${{ matrix.target }} diff --git a/Cargo.toml b/Cargo.toml index 51215cf6..5a087131 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,7 @@ version = "0.15.10" keywords = ["cli", "terminal", "colors", "console", "ansi"] authors = ["Armin Ronacher "] license = "MIT" -edition = "2018" +edition = "2021" homepage = "https://github.com/console-rs/console" repository = "https://github.com/console-rs/console" documentation = "https://docs.rs/console" diff --git a/Makefile b/Makefile index b779cf41..f2950c83 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ all: test check: - @cargo check --all-features + @cargo check --lib --all-features build: @cargo build --all-features @@ -17,9 +17,9 @@ test: check-minver: @echo "MINVER CHECK" - @cargo minimal-versions check - @cargo minimal-versions check --all-features - @cargo minimal-versions check --no-default-features + @cargo minimal-versions check --lib + @cargo minimal-versions check --lib --all-features + @cargo minimal-versions check --lib --no-default-features format: @rustup component add rustfmt 2> /dev/null @@ -33,8 +33,4 @@ lint: @rustup component add clippy 2> /dev/null @cargo clippy --examples --tests -msrv-lock: - @cargo update -p proptest --precise=1.0.0 - @cargo update -p byteorder --precise=1.4.0 - .PHONY: all doc build check test format format-check lint check-minver msrv-lock