Skip to content

Commit

Permalink
migrate CI to GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
g-k committed Mar 15, 2024
1 parent d64492f commit 10e3f54
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 27 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: cargo-show - build & test
on:
push:

env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: 1

jobs:
build_and_test:
name: cargo-show - latest
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
toolchain:
- stable
- beta
- nightly
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.toolchain == 'nightly' }}
steps:
- uses: actions/checkout@v3
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- run: cargo build --verbose
- run: cargo test --verbose
10 changes: 0 additions & 10 deletions .travis.yml

This file was deleted.

15 changes: 0 additions & 15 deletions appveyor.yml

This file was deleted.

3 changes: 1 addition & 2 deletions update_readme.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ cat > README.md <<EOF
## cargo-show
[![crates.io version](https://img.shields.io/crates/v/cargo-show.svg)](https://img.shields.io/crates/v/cargo-show.svg)
[![Build Status](https://travis-ci.org/g-k/cargo-show.svg?branch=master)](https://travis-ci.org/g-k/cargo-show)
[![Build status](https://ci.appveyor.com/api/projects/status/m9cf5vhft7qwisas?svg=true)](https://ci.appveyor.com/project/g-k/cargo-show)
[![Build status](https://github.com/g-k/cargo-show/actions/workflows/build.yml/badge.svg)](https://github.com/g-k/cargo-show/actions/workflows/build.yml)
Prints package metadata like pip show, apt-cache show, npm view, gem query, etc.
Expand Down

0 comments on commit 10e3f54

Please sign in to comment.