diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index f206c6b..9c53172 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -12,4 +12,21 @@ jobs: steps: - uses: actions/checkout@v2 - name: Build - run: swift build -v + run: swift build -c release + - name: Run dependencies + run: | + brew list mint > /dev/null || brew install mint + brew list gh > /dev/null || brew install gh + echo "🖥️ The workflow is now ready to test your code on the runner." + - name: Clone a demo branch + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: + git clone git@github.com:Mieraidihaimu/GeneratePR.git + - name: Clone a demo branch + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + git checkout m/ckp + mint run GeneratePR "Test" "123" --fix +