Skip to content

Commit

Permalink
Merge pull request #1 from samuelba/feature/initial-commit
Browse files Browse the repository at this point in the history
initial commit
  • Loading branch information
samuelba authored Apr 2, 2023
2 parents 665f503 + 565a41a commit 18df0a9
Show file tree
Hide file tree
Showing 8 changed files with 1,159 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/.github
/target
31 changes: 31 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: ci

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

env:
CARGO_TERM_COLOR: always

jobs:
build_and_test:
name: Build and test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: clippy, rustfmt
- name: Build
run: cargo build --release --all-features --verbose
- name: Run tests
run: cargo test --verbose
- name: Run clippy
uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features
if: github.event_name == 'pull_request'
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/target
docker-compose.yml
Loading

0 comments on commit 18df0a9

Please sign in to comment.