mirror of
https://github.com/dcarbone/install-jq-action.git
synced 2026-02-13 03:26:55 +08:00
Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b39bdc213c | ||
|
|
737621eb07 | ||
|
|
04b1c990a4 | ||
|
|
58388b8d70 | ||
|
|
2bd1830d1d | ||
|
|
d3f1c094e8 |
17
.github/workflows/example-linux.yaml
vendored
17
.github/workflows/example-linux.yaml
vendored
@@ -1,5 +1,22 @@
|
||||
name: "Setup jq Example - Linux"
|
||||
|
||||
# you may need to change this block for your purposes.
|
||||
permissions:
|
||||
actions: none
|
||||
attestations: none
|
||||
checks: none
|
||||
contents: none
|
||||
deployments: none
|
||||
id-token: none
|
||||
issues: none
|
||||
models: none
|
||||
discussions: none
|
||||
packages: none
|
||||
pages: none
|
||||
pull-requests: none
|
||||
security-events: none
|
||||
statuses: none
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
|
||||
17
.github/workflows/example-macos.yaml
vendored
17
.github/workflows/example-macos.yaml
vendored
@@ -1,5 +1,22 @@
|
||||
name: "Setup jq Example - MacOS"
|
||||
|
||||
# you may need to change this block for your purposes.
|
||||
permissions:
|
||||
actions: none
|
||||
attestations: none
|
||||
checks: none
|
||||
contents: none
|
||||
deployments: none
|
||||
id-token: none
|
||||
issues: none
|
||||
models: none
|
||||
discussions: none
|
||||
packages: none
|
||||
pages: none
|
||||
pull-requests: none
|
||||
security-events: none
|
||||
statuses: none
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
|
||||
17
.github/workflows/example-windows.yaml
vendored
17
.github/workflows/example-windows.yaml
vendored
@@ -1,5 +1,22 @@
|
||||
name: "Setup jq Example - Linux"
|
||||
|
||||
# you may need to change this block for your purposes.
|
||||
permissions:
|
||||
actions: none
|
||||
attestations: none
|
||||
checks: none
|
||||
contents: none
|
||||
deployments: none
|
||||
id-token: none
|
||||
issues: none
|
||||
models: none
|
||||
discussions: none
|
||||
packages: none
|
||||
pages: none
|
||||
pull-requests: none
|
||||
security-events: none
|
||||
statuses: none
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
|
||||
74
.github/workflows/tests.yaml
vendored
74
.github/workflows/tests.yaml
vendored
@@ -18,21 +18,39 @@ on:
|
||||
branches:
|
||||
- main
|
||||
|
||||
permissions:
|
||||
actions: none
|
||||
attestations: none
|
||||
checks: none
|
||||
contents: read
|
||||
deployments: none
|
||||
id-token: none
|
||||
issues: none
|
||||
models: none
|
||||
discussions: none
|
||||
packages: none
|
||||
pages: none
|
||||
pull-requests: none
|
||||
security-events: none
|
||||
statuses: none
|
||||
|
||||
concurrency:
|
||||
group: '${{ github.workflow }}-${{ github.ref }}'
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
test-linux:
|
||||
strategy:
|
||||
matrix:
|
||||
image:
|
||||
- "ubuntu-latest"
|
||||
- "ubuntu-22.04"
|
||||
- "ubuntu-24.04"
|
||||
- "macos-latest"
|
||||
- "macos-13"
|
||||
- "macos-14"
|
||||
- "macos-15"
|
||||
- "windows-latest"
|
||||
- "windows-2019"
|
||||
- "macos-26"
|
||||
- "windows-2022"
|
||||
- "windows-2025"
|
||||
force:
|
||||
- 'true'
|
||||
- 'false'
|
||||
@@ -41,19 +59,6 @@ jobs:
|
||||
- '1.7.1'
|
||||
- '1.8.0'
|
||||
include:
|
||||
- image: "ubuntu-latest"
|
||||
version: '1.6'
|
||||
force: true
|
||||
- image: "ubuntu-latest"
|
||||
version: '1.6'
|
||||
force: false
|
||||
- image: "ubuntu-latest"
|
||||
version: '1.5'
|
||||
force: true
|
||||
- image: "ubuntu-latest"
|
||||
version: '1.5'
|
||||
force: false
|
||||
|
||||
- image: "ubuntu-22.04"
|
||||
version: '1.6'
|
||||
force: true
|
||||
@@ -80,49 +85,36 @@ jobs:
|
||||
version: '1.5'
|
||||
force: false
|
||||
|
||||
- image: "windows-latest"
|
||||
- image: "windows-2022"
|
||||
version: '1.6'
|
||||
force: true
|
||||
- image: "windows-latest"
|
||||
- image: "windows-2022"
|
||||
version: '1.6'
|
||||
force: false
|
||||
- image: "windows-latest"
|
||||
- image: "windows-2022"
|
||||
version: '1.5'
|
||||
force: true
|
||||
- image: "windows-latest"
|
||||
- image: "windows-2022"
|
||||
version: '1.5'
|
||||
force: false
|
||||
|
||||
- image: "windows-2019"
|
||||
- image: "windows-2025"
|
||||
version: '1.6'
|
||||
force: true
|
||||
- image: "windows-2019"
|
||||
- image: "windows-2025"
|
||||
version: '1.6'
|
||||
force: false
|
||||
- image: "windows-2019"
|
||||
- image: "windows-2025"
|
||||
version: '1.5'
|
||||
force: true
|
||||
- image: "windows-2019"
|
||||
version: '1.5'
|
||||
force: false
|
||||
|
||||
- image: "windows-2022"
|
||||
version: '1.6'
|
||||
force: true
|
||||
- image: "windows-2022"
|
||||
version: '1.6'
|
||||
force: false
|
||||
- image: "windows-2022"
|
||||
version: '1.5'
|
||||
force: true
|
||||
- image: "windows-2022"
|
||||
- image: "windows-2025"
|
||||
version: '1.5'
|
||||
force: false
|
||||
|
||||
name: "Test Action - (img: ${{ matrix.image }}; version: ${{ matrix.version }}; force: ${{ matrix.force }})"
|
||||
runs-on: ${{ matrix.image }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v6
|
||||
|
||||
- name: Setup jq
|
||||
id: install-jq
|
||||
@@ -258,11 +250,11 @@ jobs:
|
||||
- '1.7.1'
|
||||
- '1.8.0'
|
||||
name: "Test Action (Container) - (img: ${{ matrix.image }}; version: ${{ matrix.version }}; force: ${{ matrix.force }})"
|
||||
runs-on: ${{ matrix.image }}
|
||||
runs-on: '${{ matrix.image }}'
|
||||
container:
|
||||
image: node:20
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v6
|
||||
|
||||
- name: Setup jq
|
||||
id: install-jq
|
||||
|
||||
Reference in New Issue
Block a user