Skip to content

Create rust.dev.yml

Create rust.dev.yml #1

Workflow file for this run

name: Rust dev
on:
push:
branches: [ "dev" ]
pull_request:
branches: [ "dev" ]
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
release:
name: Release
runs-on: ubuntu-latest
needs: build
steps:
- name: Download artifact
uses: actions/download-artifact@v3
with:
name: /home/runner/work/pet_the_cat_gui/pet_the_cat_gui/target/debug/
- name: Test artifact download
run: ls -R