mirror of
https://github.com/dcarbone/install-jq-action.git
synced 2026-02-14 20:16:56 +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"
|
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:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
|
|||||||
17
.github/workflows/example-macos.yaml
vendored
17
.github/workflows/example-macos.yaml
vendored
@@ -1,5 +1,22 @@
|
|||||||
name: "Setup jq Example - MacOS"
|
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:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
|
|||||||
17
.github/workflows/example-windows.yaml
vendored
17
.github/workflows/example-windows.yaml
vendored
@@ -1,5 +1,22 @@
|
|||||||
name: "Setup jq Example - Linux"
|
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:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
|
|||||||
74
.github/workflows/tests.yaml
vendored
74
.github/workflows/tests.yaml
vendored
@@ -18,21 +18,39 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- main
|
- 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:
|
jobs:
|
||||||
test-linux:
|
test-linux:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
image:
|
image:
|
||||||
- "ubuntu-latest"
|
|
||||||
- "ubuntu-22.04"
|
- "ubuntu-22.04"
|
||||||
- "ubuntu-24.04"
|
- "ubuntu-24.04"
|
||||||
- "macos-latest"
|
|
||||||
- "macos-13"
|
- "macos-13"
|
||||||
- "macos-14"
|
- "macos-14"
|
||||||
- "macos-15"
|
- "macos-15"
|
||||||
- "windows-latest"
|
- "macos-26"
|
||||||
- "windows-2019"
|
|
||||||
- "windows-2022"
|
- "windows-2022"
|
||||||
|
- "windows-2025"
|
||||||
force:
|
force:
|
||||||
- 'true'
|
- 'true'
|
||||||
- 'false'
|
- 'false'
|
||||||
@@ -41,19 +59,6 @@ jobs:
|
|||||||
- '1.7.1'
|
- '1.7.1'
|
||||||
- '1.8.0'
|
- '1.8.0'
|
||||||
include:
|
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"
|
- image: "ubuntu-22.04"
|
||||||
version: '1.6'
|
version: '1.6'
|
||||||
force: true
|
force: true
|
||||||
@@ -80,49 +85,36 @@ jobs:
|
|||||||
version: '1.5'
|
version: '1.5'
|
||||||
force: false
|
force: false
|
||||||
|
|
||||||
- image: "windows-latest"
|
- image: "windows-2022"
|
||||||
version: '1.6'
|
version: '1.6'
|
||||||
force: true
|
force: true
|
||||||
- image: "windows-latest"
|
- image: "windows-2022"
|
||||||
version: '1.6'
|
version: '1.6'
|
||||||
force: false
|
force: false
|
||||||
- image: "windows-latest"
|
- image: "windows-2022"
|
||||||
version: '1.5'
|
version: '1.5'
|
||||||
force: true
|
force: true
|
||||||
- image: "windows-latest"
|
- image: "windows-2022"
|
||||||
version: '1.5'
|
version: '1.5'
|
||||||
force: false
|
force: false
|
||||||
|
|
||||||
- image: "windows-2019"
|
- image: "windows-2025"
|
||||||
version: '1.6'
|
version: '1.6'
|
||||||
force: true
|
force: true
|
||||||
- image: "windows-2019"
|
- image: "windows-2025"
|
||||||
version: '1.6'
|
version: '1.6'
|
||||||
force: false
|
force: false
|
||||||
- image: "windows-2019"
|
- image: "windows-2025"
|
||||||
version: '1.5'
|
version: '1.5'
|
||||||
force: true
|
force: true
|
||||||
- image: "windows-2019"
|
- image: "windows-2025"
|
||||||
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"
|
|
||||||
version: '1.5'
|
version: '1.5'
|
||||||
force: false
|
force: false
|
||||||
|
|
||||||
name: "Test Action - (img: ${{ matrix.image }}; version: ${{ matrix.version }}; force: ${{ matrix.force }})"
|
name: "Test Action - (img: ${{ matrix.image }}; version: ${{ matrix.version }}; force: ${{ matrix.force }})"
|
||||||
runs-on: ${{ matrix.image }}
|
runs-on: ${{ matrix.image }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Setup jq
|
- name: Setup jq
|
||||||
id: install-jq
|
id: install-jq
|
||||||
@@ -258,11 +250,11 @@ jobs:
|
|||||||
- '1.7.1'
|
- '1.7.1'
|
||||||
- '1.8.0'
|
- '1.8.0'
|
||||||
name: "Test Action (Container) - (img: ${{ matrix.image }}; version: ${{ matrix.version }}; force: ${{ matrix.force }})"
|
name: "Test Action (Container) - (img: ${{ matrix.image }}; version: ${{ matrix.version }}; force: ${{ matrix.force }})"
|
||||||
runs-on: ${{ matrix.image }}
|
runs-on: '${{ matrix.image }}'
|
||||||
container:
|
container:
|
||||||
image: node:20
|
image: node:20
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Setup jq
|
- name: Setup jq
|
||||||
id: install-jq
|
id: install-jq
|
||||||
|
|||||||
Reference in New Issue
Block a user