chore(deps): bump docker/setup-buildx-action from 3 to 4 #1443
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: Tinyauth CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| ci: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup bun | |
| uses: oven-sh/setup-bun@v2 | |
| - name: Setup go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: "^1.26.0" | |
| - name: Initialize submodules | |
| run: | | |
| git submodule init | |
| git submodule update | |
| - name: Apply patches | |
| run: | | |
| git apply --directory paerser/ patches/nested_maps.diff | |
| - name: Install frontend dependencies | |
| run: | | |
| cd frontend | |
| bun install --frozen-lockfile | |
| - name: Set version | |
| run: | | |
| echo testing > internal/assets/version | |
| - name: Lint frontend | |
| run: | | |
| cd frontend | |
| bun run lint | |
| - name: Build frontend | |
| run: | | |
| cd frontend | |
| bun run build | |
| - name: Copy frontend | |
| run: | | |
| cp -r frontend/dist internal/assets/dist | |
| - name: Run tests | |
| run: go test -coverprofile=coverage.txt -v ./... | |
| - name: Upload coverage reports to Codecov | |
| uses: codecov/codecov-action@v5 | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} |