You've already forked postgres
mirror of
https://github.com/docker-library/postgres.git
synced 2025-11-19 00:22:57 +03:00
Merge pull request #1006 from infosiftr/ci-updates
Switch to "$GITHUB_OUTPUT"; update actions/checkout to v3
This commit is contained in:
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@@ -18,15 +18,15 @@ jobs:
|
|||||||
outputs:
|
outputs:
|
||||||
strategy: ${{ steps.generate-jobs.outputs.strategy }}
|
strategy: ${{ steps.generate-jobs.outputs.strategy }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v3
|
||||||
- id: generate-jobs
|
- id: generate-jobs
|
||||||
name: Generate Jobs
|
name: Generate Jobs
|
||||||
run: |
|
run: |
|
||||||
git clone --depth 1 https://github.com/docker-library/bashbrew.git -b master ~/bashbrew
|
git clone --depth 1 https://github.com/docker-library/bashbrew.git -b master ~/bashbrew
|
||||||
strategy="$(~/bashbrew/scripts/github-actions/generate.sh)"
|
strategy="$(~/bashbrew/scripts/github-actions/generate.sh)"
|
||||||
strategy="$(.github/workflows/munge.sh -c <<<"$strategy")"
|
strategy="$(.github/workflows/munge.sh -c <<<"$strategy")"
|
||||||
|
echo "strategy=$strategy" >> "$GITHUB_OUTPUT"
|
||||||
jq . <<<"$strategy" # sanity check / debugging aid
|
jq . <<<"$strategy" # sanity check / debugging aid
|
||||||
echo "::set-output name=strategy::$strategy"
|
|
||||||
|
|
||||||
test:
|
test:
|
||||||
needs: generate-jobs
|
needs: generate-jobs
|
||||||
@@ -34,7 +34,7 @@ jobs:
|
|||||||
name: ${{ matrix.name }}
|
name: ${{ matrix.name }}
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v3
|
||||||
- name: Prepare Environment
|
- name: Prepare Environment
|
||||||
run: ${{ matrix.runs.prepare }}
|
run: ${{ matrix.runs.prepare }}
|
||||||
- name: Pull Dependencies
|
- name: Pull Dependencies
|
||||||
|
|||||||
2
.github/workflows/verify-templating.yml
vendored
2
.github/workflows/verify-templating.yml
vendored
@@ -13,7 +13,7 @@ jobs:
|
|||||||
name: Check For Uncomitted Changes
|
name: Check For Uncomitted Changes
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- name: Apply Templates
|
- name: Apply Templates
|
||||||
run: ./apply-templates.sh
|
run: ./apply-templates.sh
|
||||||
- name: Check Git Status
|
- name: Check Git Status
|
||||||
|
|||||||
Reference in New Issue
Block a user