Feat doom widget #81
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: Compile Check | |
| on: | |
| pull_request: | |
| branches: [ "homer11" ] | |
| workflow_dispatch: | |
| inputs: | |
| go_version: | |
| description: Go version override (empty = use src/go.mod) | |
| required: false | |
| default: "" | |
| permissions: | |
| contents: read | |
| jobs: | |
| compile: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| submodules: true | |
| - name: Install build requirements | |
| run: | | |
| sudo apt update && sudo apt install -y openssl ca-certificates libluajit-5.1-dev | |
| - name: Set up Go | |
| uses: actions/setup-go@v6 | |
| with: | |
| # Empty go-version falls back to go-version-file, so PR checks always | |
| # match the toolchain required by src/go.mod (manual dispatch can override). | |
| go-version: ${{ github.event_name == 'workflow_dispatch' && inputs.go_version || '' }} | |
| go-version-file: src/go.mod | |
| cache-dependency-path: src/go.sum | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v5 | |
| with: | |
| node-version: 22 | |
| - name: Compile project | |
| run: | | |
| make release |