Skip to content

Commit

Permalink
update license, workflows and badges
Browse files Browse the repository at this point in the history
  • Loading branch information
hmeyer committed Aug 10, 2024
1 parent d45e12b commit ca6971b
Show file tree
Hide file tree
Showing 10 changed files with 93 additions and 988 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Build

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
schedule:
- cron: "0 0 * * *" # run daily at midnight

env:
CARGO_TERM_COLOR: always

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Install stable Toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
components: rustfmt, clippy

- name: build
run: cargo build --release --all-features
21 changes: 21 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Publish

on: workflow_dispatch

env:
CARGO_TERM_COLOR: always

jobs:
publish-cargo:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- uses: katyo/publish-crates@v2
with:
registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
22 changes: 0 additions & 22 deletions .github/workflows/rust.yml

This file was deleted.

32 changes: 32 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Test

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
schedule:
- cron: "0 0 * * *" # run daily at midnight

env:
CARGO_TERM_COLOR: always

jobs:
check--and-test:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Install stable Toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
components: rustfmt, clippy

- name: check
run: cargo check
- name: test
run: cargo test
67 changes: 0 additions & 67 deletions .travis.yml

This file was deleted.

10 changes: 3 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[package]
name = "stl_io"
version = "0.7.0"
version = "0.8.0"
authors = ["Henning Meyer <[email protected]>"]
edition = "2018"
edition = "2021"

description = "STL input and output."
repository = "https://github.com/hmeyer/stl_io"
readme = "README.md"
keywords = ["stl", "binary", "ascii", "3d", "mesh"]
license = "Apache-2.0 OR MIT"
license = "MIT"

[lib]
name = "stl_io"
Expand All @@ -17,7 +17,3 @@ path = "src/lib.rs"
[dependencies]
byteorder = "1"
float-cmp = "0.9"

[badges]
travis-ci = { repository = "hmeyer/stl_io", branch = "master" }
codecov = { repository = "hmeyer/stl_io", branch = "master", service = "github" }
Loading

0 comments on commit ca6971b

Please sign in to comment.