Skip to content

[SITEOPS-1422] add conditional artifactory, gar, and quay logins to test runner action #115

[SITEOPS-1422] add conditional artifactory, gar, and quay logins to test runner action

[SITEOPS-1422] add conditional artifactory, gar, and quay logins to test runner action #115

Workflow file for this run

name: Sanity Checks
on:
pull_request:
types: [opened, edited, synchronize, reopened]
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
python-version: '3.x'
- uses: pre-commit/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
tagging:
name: "Tagging (dry-run)"
needs: pre-commit
runs-on: ubuntu-latest
outputs:
net_tag: ${{ steps.tag_version.outputs.new_tag }}
steps:
- uses: actions/[email protected]
- 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.tags }}"
test-action-default:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: arduino/setup-task@v2
- name: Test local action
id: local-action
uses: ./
test-action-not-default:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: arduino/setup-task@v2
- name: Test local action
id: local-action
uses: ./
with:
envsubst_needed: "true"
taskfile_name: "test:foobar"