meas(eval): a sede única não move o comportamento — e contar sede de proibição não é contar sede do comportamento #107
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
| # The six suites on both target platforms. Linux exercises the GNU timeout | |
| # backend (with -k) and procps; macOS proves bash 3.2 compatibility with the | |
| # stock /bin/bash — never the Homebrew bash the runner also ships. The guard | |
| # suite runs alongside them: it builds its own throwaway repositories, so it | |
| # needs nothing from the runner beyond bash, git and perl. | |
| name: ci | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| linux: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| - run: bash scripts/test.sh | |
| macos: | |
| runs-on: macos-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| # Hard premise of this job: stock /bin/bash must be 3.2. A print alone | |
| # would let the suite silently run under a different bash if the runner | |
| # image ever ships something else. | |
| - run: | | |
| /bin/bash --version | |
| /bin/bash -c '[[ ${BASH_VERSINFO[0]} -eq 3 && ${BASH_VERSINFO[1]} -eq 2 ]]' | |
| /bin/bash scripts/test.sh |