Add build and release workflow based on git version tags #13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run tests | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
steps: | |
# Checkout repo | |
- name: Fetch the repository code | |
uses: actions/checkout@v4 | |
- name: Deny banned crates and licenses | |
uses: EmbarkStudios/cargo-deny-action@v1 | |
- name: Build Docker image | |
run: docker build . -t tinty | |
- name: Run Docker container | |
run: docker run tinty |