Skip to content

Commit

Permalink
Create rust.dev.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom60chat authored Nov 20, 2023
1 parent e17f231 commit 3a6c547
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/rust.dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
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

0 comments on commit 3a6c547

Please sign in to comment.