fix(web): password input type + ci reusable workflow + multi-arch images #4
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: Apps / Relay | ||
| on: | ||
| pull_request: | ||
| branches: ["*"] | ||
| paths: | ||
| - apps/relay/** | ||
| - .github/workflows/apps-relay.yaml | ||
| push: | ||
| branches: ["main"] | ||
| paths: | ||
| - apps/relay/** | ||
| - .github/workflows/apps-relay.yaml | ||
| jobs: | ||
| tests: | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| contents: read | ||
| pull-requests: write | ||
| defaults: | ||
| run: | ||
| working-directory: apps/relay | ||
| steps: | ||
| - name: Checkout code | ||
| uses: actions/checkout@v3 | ||
| - name: Set up Go | ||
| uses: actions/setup-go@v4 | ||
| with: | ||
| go-version: "1.25" | ||
| - name: Cache Go modules | ||
| uses: actions/cache@v3 | ||
| with: | ||
| path: | | ||
| ~/.cache/go-build | ||
| ~/go/pkg/mod | ||
| key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | ||
| restore-keys: | | ||
| ${{ runner.os }}-go- | ||
| - name: Install dependencies | ||
| run: go mod download | ||
| - name: Run tests with coverage | ||
| run: go test -race ./... | ||
| build: | ||
|
Check failure on line 50 in .github/workflows/apps-relay.yaml
|
||
| uses: ./.github/workflows/build-image.yaml | ||
| secrets: inherit | ||
| with: | ||
| image-name: ctrlplane/relay | ||
| dockerfile: apps/relay/Dockerfile | ||
| context: apps/relay | ||