Files for website #20
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: Test and Release | |
on: | |
push: | |
branches: | |
main | |
workflow_dispatch: | |
permissions: | |
contents: write | |
jobs: | |
spell-check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/[email protected] | |
- name: Spellcheck | |
uses: rojopolis/[email protected] | |
with: | |
config_path: .github/spellcheck.yml | |
build-proof: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/[email protected] | |
- name: Debug files | |
run: tree | |
- name: Build proof | |
uses: anishathalye/[email protected] | |
with: | |
directory: ./ | |
semantic-version: | |
needs: [build-proof, spell-check] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/[email protected] | |
- name: get tag | |
id: tag_version | |
uses: mathieudutour/[email protected] | |
with: | |
dry_run: false # useful for debugging workflow when true | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
default_bump: patch # minor will replace after v1.0.0 because only new application files are added by non-developers | |
- name: Create a GitHub release | |
uses: ncipollo/[email protected] | |
with: | |
tag: ${{ steps.tag_version.outputs.new_tag }} | |
name: Release ${{ steps.tag_version.outputs.new_tag }} | |
body: ${{ steps.tag_version.outputs.changelog }} |