fix: jimm cannot start without token refresh url set #4034
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| pull_request: | |
| workflow_call: | |
| workflow_dispatch: | |
| merge_group: | |
| jobs: | |
| build_test: | |
| name: Build and Test | |
| runs-on: ubuntu-22.04 | |
| timeout-minutes: 45 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Go | |
| uses: actions/setup-go@v4 | |
| with: | |
| go-version-file: "go.mod" | |
| - name: Install dependencies | |
| run: sudo apt-get update -y && sudo apt-get install -y gcc git-core gnupg build-essential | |
| - name: Install juju-db | |
| run: sudo snap install juju-db --channel 4.4/stable | |
| - name: Start test environment | |
| run: docker compose up -d --wait | |
| - name: Run OpenFGA authorisation model tests | |
| uses: openfga/[email protected] | |
| with: | |
| store-file-path: ./openfga/tests.fga.yaml | |
| - name: Build and Test | |
| run: TEST_LOGGING_CONFIG=ERROR go test -mod readonly ./... -timeout 1h -cover | |
| verify_jaas_commands: | |
| name: Verify JAAS command symlinks | |
| runs-on: ubuntu-22.04 | |
| timeout-minutes: 15 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Go | |
| uses: actions/setup-go@v4 | |
| with: | |
| go-version-file: "go.mod" | |
| - name: Build JAAS binary | |
| shell: bash | |
| run: go build ./cmd/jaas | |
| - name: Verify JAAS command symlinks | |
| shell: bash | |
| run: ./scripts/verify_jaas_commands.sh |