Bump the actions-dependency group across 1 directory with 2 updates #222
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: Sanity Checks | |
on: | |
pull_request: | |
types: [opened, edited, synchronize, reopened] | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/[email protected] | |
with: | |
python-version: "3.10" | |
- uses: pre-commit/[email protected] | |
tagging: | |
name: "Tagging (dry-run)" | |
needs: pre-commit | |
runs-on: ubuntu-latest | |
outputs: | |
net_tag: ${{ steps.tag_version.outputs.new_tag }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Bump version and push tag | |
id: tag_version | |
uses: mathieudutour/[email protected] | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
dry_run: true | |
- run: echo "Calculated Next Tag is ${{ steps.tag_version.outputs.new_tag }}" | |
#use this with ${{needs.job1.outputs.output1}} | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: arduino/setup-task@v2 | |
- name: Lint and tests | |
run: | | |
task test |