Skip to content

Commit

Permalink
Merge pull request #19 from openfga/chore/pin-sha-for-actions
Browse files Browse the repository at this point in the history
ci: pin action versions by sha
  • Loading branch information
rhamzeh authored Nov 22, 2024
2 parents 92197cd + f0566a6 commit 1785a0a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ jobs:
OPENFGA_DATASTORE_URI: 'postgres://openfga:[email protected]:5432/openfga'
OPENFGA_LOG_LEVEL: debug
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Install OpenFGA server ${{ matrix.test.openfga_tag }}
uses: jaxxstorm/[email protected]
uses: jaxxstorm/action-install-gh-release@7f2440a9a41f74262d8f6433da138c799799a969 # v1.13.0
with:
repo: openfga/openfga
tag: ${{ matrix.test.openfga_tag }}
Expand All @@ -65,12 +65,12 @@ jobs:
shell: bash
run: openfga run &
- name: Install OpenFGA cli
uses: jaxxstorm/[email protected]
uses: jaxxstorm/action-install-gh-release@7f2440a9a41f74262d8f6433da138c799799a969 # v1.13.0
with:
repo: openfga/cli
cache: enable
- name: Install jq
uses: dcarbone/install-jq-action@v2
uses: dcarbone/install-jq-action@e397bd87438d72198f81efd21f876461183d383a # v3.0.1
- name: Create store with model
id: 'store'
run: |
Expand Down
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ runs:
using: composite
steps:
- name: Install OpenFGA CLI
uses: jaxxstorm/[email protected]
uses: jaxxstorm/action-install-gh-release@7f2440a9a41f74262d8f6433da138c799799a969 # v1.13.0
with:
repo: openfga/cli
cache: enable
- uses: chrisdickinson/[email protected].1
- uses: chrisdickinson/setup-yq@3d931309f27270ebbafd53f2daee773a82ea1822 # v1.0.0
with:
yq-version: v4.25.3
- name: Run OpenFGA CLI
Expand Down

0 comments on commit 1785a0a

Please sign in to comment.