Skip to content

Commit

Permalink
Modernize CI (#116)
Browse files Browse the repository at this point in the history
* Remove remaining travis stuff
* Modernize CI
* Minimum rust version is 1.63 (for now)
* Check-in Cargo.lock
  • Loading branch information
Stebalien authored Jul 21, 2024
1 parent 7eb4569 commit 68196c1
Show file tree
Hide file tree
Showing 7 changed files with 121 additions and 14 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,13 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
toolchain: [stable, '1.36']
toolchain: [stable, '1.63']
runs-on: ${{ matrix.os }}
env:
RUSTFLAGS: -D warnings
RUST_BACKTRACE: 1
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: ${{ matrix.toolchain }}
override: true
- uses: actions/checkout@v4
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- name: Run tests
run: cargo test -- --color always
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
/target
/Cargo.lock
115 changes: 115 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ description = """
A terminal formatting library
"""
categories = ["command-line-interface"]
exclude = ["/scripts/*", "/.travis.yml", "/appveyor.yml"]
edition = "2018"
rust-version = "1.63"

[badges]
circle-ci = { repository = "Stebalien/term" }
appveyor = { repository = "Stebalien/term" }

[dependencies]
home = "0.5.4"
home = "0.5.5"

[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3", features = ["consoleapi", "wincon", "handleapi", "fileapi"] }
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ A Rust library for terminfo parsing and terminal colors.

## MSRV

1.36 - the minimum version testable on circleci.
1.63

## Usage

Expand Down
Binary file removed scripts/id_rsa.enc
Binary file not shown.
3 changes: 0 additions & 3 deletions scripts/travis-doc-upload.cfg

This file was deleted.

0 comments on commit 68196c1

Please sign in to comment.