chore(deps): bump github.com/gohugoio/hugo from 0.159.2 to 0.161.0 (#47) #117
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: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| jobs: | |
| files-changed: | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| uses: ./.github/workflows/files-changed.yml | |
| lint: | |
| if: needs.files-changed.outputs.lint == 'true' || needs.files-changed.outputs.actions == 'true' | |
| needs: files-changed | |
| runs-on: macos-latest | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Go | |
| uses: actions/setup-go@v6 | |
| with: | |
| go-version-file: go.mod | |
| check-latest: true | |
| - name: Run generate templ files | |
| run: make generate-web | |
| - name: Setup golangci-lint | |
| uses: golangci/golangci-lint-action@v9 | |
| with: | |
| version: latest | |
| skip-cache: true | |
| args: --timeout=10m --verbose | |
| test: | |
| if: needs.files-changed.outputs.app == 'true' || needs.files-changed.outputs.actions == 'true' | |
| needs: files-changed | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version-file: go.mod | |
| check-latest: true | |
| - name: Setup Bun | |
| uses: oven-sh/setup-bun@v2.2.0 | |
| - name: Run generate templ files | |
| run: make generate-web | |
| - name: Run tests | |
| run: make test | |
| build: | |
| if: needs.files-changed.outputs.app == 'true' || needs.files-changed.outputs.actions == 'true' | |
| needs: files-changed | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version-file: go.mod | |
| check-latest: true | |
| - name: Setup Bun | |
| uses: oven-sh/setup-bun@v2.2.0 | |
| - name: Build | |
| run: make build |