Skip to content

Commit

Permalink
Add github action workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Badbird5907 committed Aug 29, 2024
1 parent b337c66 commit 83a2951
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
26 changes: 26 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
on: [push]

name: CI

jobs:
build:
name: Rust project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- uses: actions-rs/cargo@v1
with:
command: build
args: --release --all-features
publish:
name: Publish to GitHub Releases
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/download-artifact@v2
with:
name: artifact
path: target/release/statsd_auth_proxy
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Made for statsd.
## Build

```bash
cargo build --release
cargo build --release --all-features
```

## Configuration
Expand Down

0 comments on commit 83a2951

Please sign in to comment.