0
0
Fork 0
tree-owners/.github/workflows/rust.yml

31 lines
630 B
YAML
Raw Normal View History

2023-09-24 06:26:44 +02:00
name: Rust
on:
push:
2023-09-24 06:52:29 +02:00
branches: ["main"]
2023-09-24 06:26:44 +02:00
pull_request:
2023-09-24 06:52:29 +02:00
branches: ["main"]
2023-09-24 06:26:44 +02:00
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
2023-09-24 06:52:29 +02:00
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: true
title: "Development Build"
files: |
LICENSE
target/debug/tree-owners