Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions .github/workflows/example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,22 @@ permissions:

jobs:
cloudquery-sync:
name: cloudquery-sync (${{ matrix.label }})
permissions:
id-token: write
contents: read
runs-on: ${{ matrix.os }}
strategy:
matrix:
dbversion: ["postgres:latest"]
cloudquery-version: ["6.35.2", "v6.35.2"]
os: [ubuntu-latest]
include:
- label: "without-v-prefix"
dbversion: "postgres:latest"
cloudquery-version: "6.35.2"
os: ubuntu-latest
- label: "with-v-prefix"
dbversion: "postgres:latest"
cloudquery-version: "v6.35.2"
os: ubuntu-latest
fail-fast: false
services:
postgres:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/example_matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
types: [opened, synchronize, reopened]
permissions:
contents: read
env:
CLOUDQUERY_VERSION: "v6.35.2"
jobs:
cloudquery:
permissions:
Expand Down Expand Up @@ -41,7 +43,7 @@ jobs:
- name: Setup CloudQuery
uses: ./.
with:
version: "v6.35.2"
version: ${{ env.CLOUDQUERY_VERSION }}
- name: Sync with CloudQuery
run: cloudquery sync example_configs/spec.yml --log-console --shard ${{ matrix.shard }}
env:
Expand Down
Loading
Loading