Skip to content

Commit

Permalink
Merge branch 'master' into pretty-ncol
Browse files Browse the repository at this point in the history
  • Loading branch information
johanneskoester committed Jun 6, 2023
2 parents 91564b9 + 45f518e commit 13be289
Show file tree
Hide file tree
Showing 21 changed files with 907 additions and 252 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/conventional-prs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: PR
on:
pull_request_target:
types:
- opened
- reopened
- edited
- synchronize

jobs:
title-format:
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v3.4.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37 changes: 37 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
on:
push:
branches:
- master

name: release-please

jobs:
release-please:
runs-on: ubuntu-latest
steps:

- uses: GoogleCloudPlatform/release-please-action@v2
id: release
with:
release-type: rust
package-name: bio-types

- uses: actions/checkout@v2
if: ${{ steps.release.outputs.release_created }}

- name: Install stable toolchain
uses: actions-rs/toolchain@v1
if: ${{ steps.release.outputs.release_created }}
with:
toolchain: stable
override: true

- uses: Swatinem/rust-cache@v1.3.0
if: ${{ steps.release.outputs.release_created }}

- name: Publish crate
if: ${{ steps.release.outputs.release_created }}
uses: actions-rs/cargo@v1
with:
command: publish
args: --token ${{ secrets.CRATES_IO_TOKEN }}
112 changes: 112 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
name: CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
Formatting:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
components: rustfmt

- uses: Swatinem/rust-cache@v1.3.0

- name: Check format
run: cargo fmt -- --check

Linting:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
components: clippy

- uses: Swatinem/rust-cache@v1.3.0

- name: Lint with clippy
uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}

Testing:
needs: Formatting
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
build: [linux, windows, macos]
include:
- build: macos
os: macos-latest
rust: stable
- build: windows
os: windows-latest
rust: stable
- build: linux
os: ubuntu-latest
rust: stable
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Install ${{ matrix.rust }} toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust }}
override: true

- uses: Swatinem/rust-cache@v1.3.0

- name: Run tests
uses: actions-rs/cargo@v1
with:
command: test
args: --all --no-fail-fast

Coverage:
needs: Formatting
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Install nightly toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true

- uses: Swatinem/rust-cache@v1.3.0

- name: Install cargo-tarpaulin
uses: actions-rs/install@v0.1
with:
crate: cargo-tarpaulin
version: latest
use-tool-cache: true

- name: Coverage with tarpaulin
run: cargo tarpaulin --all --all-features --timeout 600 --out Lcov -- --test-threads 1

- name: Upload coverage
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./lcov.info
37 changes: 0 additions & 37 deletions .travis.yml

This file was deleted.

22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Changelog

## [0.13.0](https://www.github.com/rust-bio/rust-bio-types/compare/v0.12.1...v0.13.0) (2022-07-23)


### Features

* strand: Use serde ([#38](https://www.github.com/rust-bio/rust-bio-types/issues/38)) ([3fa1820](https://www.github.com/rust-bio/rust-bio-types/commit/3fa1820ec03165367b8c5025a6cf110fd968a81b))

### [0.12.1](https://www.github.com/rust-bio/rust-bio-types/compare/v0.12.0...v0.12.1) (2021-11-17)


### Bug Fixes

* Fix `'\'` being rendered as ’' on docs.rs ([#31](https://www.github.com/rust-bio/rust-bio-types/issues/31)) ([ebbb67a](https://www.github.com/rust-bio/rust-bio-types/commit/ebbb67a3b4683a0584f869828223d622c1a502c6))

## [0.12.0](https://www.github.com/rust-bio/rust-bio-types/compare/v0.11.0...v0.12.0) (2021-07-09)


### Features

* make AlignmentOperation hashable ([f1c4df0](https://www.github.com/rust-bio/rust-bio-types/commit/f1c4df09f0247ef76235f5ed6c17156535586b47))

0 comments on commit 13be289

Please sign in to comment.