Also publish a moving tag for the major version #54
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 scripts on push | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
test_scripts: | |
name: Test scripts | |
runs-on: ubuntu-20.04 | |
steps: | |
- | |
name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 2 | |
- | |
# this is necessary to prevent desynch state when triggered by previous workflow | |
name: Sync git repository | |
run: git checkout HEAD^ | |
- | |
name: Run Bats Tests | |
uses: ffurrer2/bats-action@v1 | |
with: | |
args: ./test/checkHelmVersion.bats |