Skip to content

Commit

Permalink
Merge pull request #2 from habitat-sh/psajja/some-fixes
Browse files Browse the repository at this point in the history
Git Workflow with some fixes
  • Loading branch information
sajjaphani authored May 6, 2024
2 parents 3daf0f9 + e448efd commit ebd5d08
Show file tree
Hide file tree
Showing 32 changed files with 927 additions and 939 deletions.
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: cargo
directory: /
schedule:
interval: weekly
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
37 changes: 37 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: CI

on:
push:
branches:
- main
pull_request:
branches:
- main

env:
CARGO_TERM_COLOR: always

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
toolchain:
- stable

steps:
- uses: actions/checkout@v4
- run: >-
rustup update ${{ matrix.toolchain }} && rustup default ${{matrix.toolchain }}
- name: Check for Clippy Format Errors
run: cargo fmt -- --check

- name: Run Clippy
run: cargo clippy -- -D warnings

- name: Build
run: cargo build --verbose

- name: Run tests
run: cargo test --verbose
Loading

0 comments on commit ebd5d08

Please sign in to comment.