Skip to content

Commit

Permalink
CI: switch from travis to GitHub Actions and cargo-release
Browse files Browse the repository at this point in the history
  • Loading branch information
aschampion committed Dec 6, 2022
1 parent 8b4d34a commit 66fb43b
Show file tree
Hide file tree
Showing 5 changed files with 52 additions and 37 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: CI
on: [push, pull_request]

jobs:
test:
uses: aschampion/gh-actions/.github/workflows/rust-test.yml@v0
with:
msrv: 1.39

semver-checks:
uses: aschampion/gh-actions/.github/workflows/rust-semver-checks.yml@v0

publish:
uses: aschampion/gh-actions/.github/workflows/rust-publish.yml@v0
needs: [test]
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/v')
secrets: inherit
36 changes: 0 additions & 36 deletions .travis.yml

This file was deleted.

23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

<!-- next-header -->

## [Unreleased]

## [0.7.6] - 2020-10-26
### Added
Expand Down Expand Up @@ -180,3 +183,23 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.


## [0.1.0] - 2018-02-28


<!-- next-url -->
[Unreleased]: https://github.com/aschampion/rust-n5/compare/0.7.6...HEAD
[0.7.6]: https://github.com/aschampion/rust-n5/compare/0.7.5...0.7.6
[0.7.5]: https://github.com/aschampion/rust-n5/compare/0.7.4...0.7.5
[0.7.4]: https://github.com/aschampion/rust-n5/compare/0.7.3...0.7.4
[0.7.3]: https://github.com/aschampion/rust-n5/compare/0.7.2...0.7.3
[0.7.2]: https://github.com/aschampion/rust-n5/compare/0.7.1...0.7.2
[0.7.1]: https://github.com/aschampion/rust-n5/compare/0.7.0...0.7.1
[0.7.0]: https://github.com/aschampion/rust-n5/compare/0.6.1...0.7.0
[0.6.1]: https://github.com/aschampion/rust-n5/compare/0.6.0...0.6.1
[0.6.0]: https://github.com/aschampion/rust-n5/compare/0.5.0...0.6.0
[0.5.0]: https://github.com/aschampion/rust-n5/compare/0.4.0...0.5.0
[0.4.0]: https://github.com/aschampion/rust-n5/compare/0.3.0...0.4.0
[0.3.0]: https://github.com/aschampion/rust-n5/compare/0.2.3...0.3.0
[0.2.3]: https://github.com/aschampion/rust-n5/compare/0.2.2...0.2.3
[0.2.2]: https://github.com/aschampion/rust-n5/compare/0.2.1...0.2.2
[0.2.1]: https://github.com/aschampion/rust-n5/compare/0.2.0...0.2.1
[0.2.0]: https://github.com/aschampion/rust-n5/compare/0.1.0...0.2.0
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# N5 [![Build Status](https://travis-ci.org/aschampion/rust-n5.svg?branch=master)](https://travis-ci.org/aschampion/rust-n5) [![Coverage](https://codecov.io/gh/aschampion/rust-n5/branch/master/graph/badge.svg)](https://codecov.io/gh/aschampion/rust-n5)
# N [![Build Status](https://github.com/aschampion/rust-n5/actions/workflows/ci.yml/badge.svg)](https://github.com/aschampion/rust-n5/actions/workflows/ci.yml/) [![Coverage](https://codecov.io/gh/aschampion/rust-n5/branch/master/graph/badge.svg)](https://codecov.io/gh/aschampion/rust-n5)

A (mostly pure) rust implementation of the [N5 "Not HDF5" n-dimensional tensor file system storage format](https://github.com/saalfeldlab/n5) created by the Saalfeld lab at Janelia Research Campus.

Expand Down
11 changes: 11 additions & 0 deletions release.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
publish = false
pre-release-commit-message = "Version {{version}}"
pre-release-replacements = [
{file="CHANGELOG.md", search="^## \\[Unreleased\\]", replace="## [{{version}}] - {{date}}", exactly=1},
{file="CHANGELOG.md", search="\\[Unreleased\\]", replace="[{{version}}]", min=1},
{file="CHANGELOG.md", search="\\.\\.\\.HEAD", replace="...{{tag_name}}", exactly=1},
]
post-release-replacements = [
{file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n## [Unreleased]\n\n", exactly=1},
{file="CHANGELOG.md", search="<!-- next-url -->", replace="<!-- next-url -->\n[Unreleased]: https://github.com/aschampion/rust-n5/compare/{{tag_name}}...HEAD", exactly=1},
]

0 comments on commit 66fb43b

Please sign in to comment.