Skip to content

Commit

Permalink
Merge pull request #1 from ImJeremyHe/heyiliang/chores
Browse files Browse the repository at this point in the history
chore: add ci and remove lock
  • Loading branch information
ImJeremyHe authored May 21, 2023
2 parents 36efdda + f6e3da0 commit 36efcac
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 62 deletions.
13 changes: 13 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Automatically open PRs to update outdated deps
# See https://docs.github.com/en/github/administering-a-repository/enabling-and-disabling-version-updates

version: 2
updates:
# Enable version updates for cargo
- package-ecosystem: "cargo"
# Look for Cargo `.toml` and `.lock` files in the `root` directory
directory: "/"
# Check the cargo registry for updates every week
schedule:
interval: "weekly"

17 changes: 17 additions & 0 deletions .github/workflows/rust.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: rust test

on: [pull_request]

env:
CARGO_TERM_COLOR: always

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose --workspace
- name: Run tests
run: cargo test --verbose --workspace
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
target
target
Cargo.lock
61 changes: 0 additions & 61 deletions Cargo.lock

This file was deleted.

0 comments on commit 36efcac

Please sign in to comment.