💥 BREAKING(feat): implement standard outscale profile #113
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: pull-request | |
| on: | |
| pull_request: | |
| branches: [ main ] | |
| permissions: | |
| pull-requests: write | |
| contents: write | |
| jobs: | |
| reuse-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Reuse specification test | |
| run: make reuse-test | |
| examples-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Stable Rust with rustfmt | |
| uses: actions-rs/toolchain@v1 | |
| with: | |
| profile: minimal | |
| toolchain: stable | |
| components: rustfmt | |
| - name: local tests | |
| run: ./local_tests.sh | |
| - name: Run examples | |
| env: | |
| OSC_ACCESS_KEY: ${{ secrets.OSC_ACCESS_KEY }} | |
| OSC_SECRET_KEY: ${{ secrets.OSC_SECRET_KEY }} | |
| OSC_REGION: ${{ secrets.OSC_REGION }} | |
| run: make examples-test | |
| regeneration-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Stable Rust with rustfmt | |
| uses: actions-rs/toolchain@v1 | |
| with: | |
| profile: minimal | |
| toolchain: stable | |
| components: rustfmt | |
| - name: SDK re-generation test | |
| run: make regen-test | |
| dependabot-auto-merge: | |
| needs: [reuse-test, examples-test, regeneration-test] | |
| runs-on: ubuntu-latest | |
| if: ${{ github.actor == 'dependabot[bot]' }} | |
| steps: | |
| - name: Dependabot metadata | |
| id: metadata | |
| uses: dependabot/fetch-metadata@v2.4.0 | |
| with: | |
| github-token: "${{ secrets.GITHUB_TOKEN }}" | |
| - name: Auto-merge | |
| run: gh pr merge --auto --rebase "$PR_URL" | |
| env: | |
| PR_URL: ${{github.event.pull_request.html_url}} | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |