Skip to content

Commit

Permalink
Replace Travis with GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianwong committed Jun 22, 2023
1 parent 0917cc7 commit 8f6a034
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 18 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: CI

on:
push:
branches: ["master"]
tags: ["[0-9]+.[0-9]+.[0-9]+"]
pull_request:
branches: ["master"]
workflow_dispatch:

jobs:
ci:
strategy:
matrix:
rust: [beta, stable, 1.38.0]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@v1
with:
toolchain: ${{ matrix.rust }}
components: rustfmt
targets: thumbv7em-none-eabihf
- run: cargo fmt -- --check
- run: cargo test
- run: cargo build --target thumbv7em-none-eabihf
16 changes: 0 additions & 16 deletions .travis.yml

This file was deleted.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ unicode-joining-type
====================

<div align="center">
<a href="https://travis-ci.com/yeslogic/unicode-joining-type">
<img src="https://travis-ci.com/yeslogic/unicode-joining-type.svg?branch=master" alt="Build Status"></a>
<a href="https://github.com/yeslogic/unicode-joining-type/actions/workflows/ci.yml">
<img src="https://github.com/yeslogic/unicode-joining-type/actions/workflows/ci.yml/badge.svg" alt="Build Status"></a>
<a href="https://docs.rs/unicode-joining-type">
<img src="https://docs.rs/unicode-joining-type/badge.svg" alt="Documentation">
</a>
Expand Down

0 comments on commit 8f6a034

Please sign in to comment.