2023-09-24 07:40:08 +02:00
|
|
|
name: Test
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: ["main"]
|
|
|
|
pull_request:
|
|
|
|
branches: ["main"]
|
|
|
|
|
|
|
|
env:
|
|
|
|
CARGO_TERM_COLOR: always
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Build
|
|
|
|
run: cargo build --verbose
|
|
|
|
- name: Run tests
|
|
|
|
run: cargo test --verbose
|
2023-09-24 12:20:43 +02:00
|
|
|
- name: Adjust compiler output
|
2023-09-24 15:01:04 +02:00
|
|
|
run: mv ../ci-out/_tree-owners ../ci-out/tree-owners.zsh
|
2023-09-24 07:40:08 +02:00
|
|
|
- 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
|
2023-09-24 14:58:17 +02:00
|
|
|
../ci-out/tree-owners.bash
|
|
|
|
../ci-out/tree-owners.fish
|
|
|
|
../ci-out/tree-owners.zsh
|