Merge pull request #2 from fox-forks/hyperupcall-description #20
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: Test action | |
on: | |
push: | |
branches: "main" | |
paths-ignore: | |
- README.md | |
- LICENSE | |
- .gitignore | |
- .github/** | |
- "!.github/workflows/test-action.yml" | |
pull_request: | |
paths-ignore: | |
- README.md | |
- LICENSE | |
- .gitignore | |
- .github/** | |
- "!.github/workflows/test-action.yml" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test-action: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "20" | |
cache: npm | |
- run: npm install | |
- run: npm run build | |
- id: main | |
uses: ./ | |
- shell: jq -C . {0} | |
run: ${{ toJSON(steps.main.outputs) }} | |
- run: git config --list --show-origin | |
- run: git clone https://github.com/actions4git/setup-git.git | |
working-directory: ${{ runner.temp }} |