Skip to content

Commit

Permalink
updated workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
tejasag committed Oct 4, 2021
1 parent 295f32e commit 9119fa0
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 11 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/rust.yml → .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Rust
name: Build

on:
push:
Expand All @@ -18,13 +18,3 @@ jobs:
- uses: actions/checkout@v2
- name: Build
run: cargo build --verbose


test:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Run tests
run: cargo test --verbose
20 changes: 20 additions & 0 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Format

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

env:
CARGO_TERM_COLOR: always

jobs:
format:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Format
run: cargo format
20 changes: 20 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Test

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

env:
CARGO_TERM_COLOR: always

jobs:
test:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Test
run: cargo test
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# `hera`

Hera is a simple programming language made to learn more about interpreters and compilers.

![build status](https://github.com/tejasag/awwards-bot/actions/workflows/build.yml/badge.svg)
![test status](https://github.com/tejasag/awwards-bot/actions/workflows/test.yml/badge.svg)
![format status](https://github.com/tejasag/awwards-bot/actions/workflows/format.yml/badge.svg)

0 comments on commit 9119fa0

Please sign in to comment.