⬆️ Bump fast-uri from 3.1.2 to 3.1.4 in /setup #148
Workflow file for this run
This file contains hidden or 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-setup-action | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| setops-versions-latest: | |
| name: SetOps Versions | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| setops_versions: ["0.10.3", latest, next] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| - name: Setup SetOps - ${{ matrix['setops_versions'] }} | |
| uses: ./setup | |
| with: | |
| setops_version: ${{ matrix['setops_versions'] }} | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Validate SetOps Version - ${{ matrix['setops_versions'] }} | |
| if: ${{ matrix['setops_versions'] != 'latest' && matrix['setops_versions'] != 'next' }} | |
| run: | | |
| setops version | grep "CLI Version: ${{ matrix['setops_versions']}}" | |
| - name: Validate SetOps Version - ${{ matrix['setops_versions'] }} | |
| if: ${{ matrix['setops_versions'] == 'latest' || matrix['setops_versions'] == 'next' }} | |
| run: | | |
| setops version | grep "CLI Version: " | |
| setops-versions-constraints: | |
| name: SetOps Versions Constraints | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| setops_versions: [~0.9, 0.9.x, <0.10.0] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| - name: Setup SetOps - ${{ matrix['setops_versions'] }} | |
| uses: ./setup | |
| with: | |
| setops_version: ${{ matrix['setops_versions'] }} | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Validate SetOps Version - ${{ matrix['setops_versions'] }} | |
| run: | | |
| setops version | grep "CLI Version: 0\.9" | |
| setops-with-login: | |
| name: SetOps Credentials | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| - name: Setup SetOps | |
| uses: ./setup | |
| with: | |
| setops_api_url: https://${{ secrets.SETOPS_API_DOMAIN }} | |
| setops_organization: ${{ secrets.SETOPS_ORG }} | |
| setops_password: ${{ secrets.SETOPS_PASSWORD }} | |
| setops_username: github-actions-setup@setops.co | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Validate successful login | |
| run: setops project | grep "NAME" | |
| - name: setops logout | |
| run: setops logout |