Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 4 additions & 14 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: Build

on:
push:
branches:
- main
pull_request:

name: Build

jobs:
ci:
name: CI
Expand All @@ -17,25 +17,15 @@ jobs:
steps:

- name: Check out
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up ${{ matrix.toolchain }} Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.toolchain }}

- name: Set up Cache
uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
~/.cargo/.crates.toml
~/.cargo/.crates2.json
key: ${{ runner.os }}-${{ matrix.toolchain }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-${{ matrix.toolchain }}-cargo-
uses: Swatinem/rust-cache@v2

- name: Install Tarpaulin
if: matrix.os == 'ubuntu-latest'
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
name: Publish

on:
push:
branches:
- main
workflow_dispatch:

name: Publish

jobs:
cd:
name: CD
Expand Down
6 changes: 2 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# OS
Thumbs.db
.DS_Store
*.pdb

# Editors
.vs/
Expand All @@ -11,12 +12,9 @@ Thumbs.db
# Lang: Rust
debug/
target/
Cargo.lock
**/*.rs.bk

# Output
dist/
build/

# Environment
env/
.env
Expand Down
Loading