chore(deps): bump docker/build-push-action from 6 to 7 #60
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: | |
| branches: [ main ] | |
| push: | |
| branches: [ main ] | |
| jobs: | |
| test: | |
| name: Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Set up Go | |
| uses: actions/setup-go@v6 | |
| with: | |
| go-version: '1.25' | |
| - name: Install dependencies | |
| run: | | |
| go mod download | |
| go install github.com/a-h/templ/cmd/templ@v0.2.793 | |
| - name: Install Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: '20' | |
| - name: Generate templates | |
| run: templ generate | |
| - name: Install and run TailwindCSS | |
| run: | | |
| npm init -y | |
| npm install tailwindcss@^3.4.0 | |
| npx tailwindcss -i cmd/web/assets/css/input.css -o cmd/web/assets/css/output.css | |
| - name: Run linting | |
| run: make lint | |
| - name: Run tests | |
| run: make test |