chore(deps): use published nefergui, purego-pam and wlturbo; add CI
- commit
- b89350cc37526461675bbaba741114416c2ff653
- author
- brice · · 2026-09-30 19:57 UTC
- committer
- brice · · 2026-09-30 19:57 UTC
- parent
- ba37dbf
- signature
- GPG Verified
CD88F9E564E0102646FB6077A1A07C7C7C3E349D· arch-gpg Verified for the committer email
3 files · +44 -16
A .github/workflows/ci.yml +26 -0
| @@ -0,0 +1,26 @@ | |||
| 1 | + | name: ci | |
| 2 | + | ||
| 3 | + | on: | |
| 4 | + | push: | |
| 5 | + | branches: [main] | |
| 6 | + | pull_request: | |
| 7 | + | ||
| 8 | + | permissions: | |
| 9 | + | contents: read | |
| 10 | + | ||
| 11 | + | jobs: | |
| 12 | + | test: | |
| 13 | + | runs-on: ubuntu-latest | |
| 14 | + | steps: | |
| 15 | + | - uses: actions/checkout@v4 | |
| 16 | + | - uses: actions/setup-go@v5 | |
| 17 | + | with: | |
| 18 | + | go-version-file: go.mod | |
| 19 | + | - name: Tools | |
| 20 | + | run: | | |
| 21 | + | go install github.com/vektra/mockery/v3@v3.8.0 | |
| 22 | + | go install honnef.co/go/tools/cmd/staticcheck@latest | |
| 23 | + | echo "$(go env GOPATH)/bin" >> "$GITHUB_PATH" | |
| 24 | + | - run: make check | |
| 25 | + | - run: make race | |
| 26 | + | - run: make mocks-check | |
| @@ -0,0 +1,26 @@ | |||||
| 1 | + | name: ci | |||
| 2 | + | ||||
| 3 | + | on: | |||
| 4 | + | push: | |||
| 5 | + | branches: [main] | |||
| 6 | + | pull_request: | |||
| 7 | + | ||||
| 8 | + | permissions: | |||
| 9 | + | contents: read | |||
| 10 | + | ||||
| 11 | + | jobs: | |||
| 12 | + | test: | |||
| 13 | + | runs-on: ubuntu-latest | |||
| 14 | + | steps: | |||
| 15 | + | - uses: actions/checkout@v4 | |||
| 16 | + | - uses: actions/setup-go@v5 | |||
| 17 | + | with: | |||
| 18 | + | go-version-file: go.mod | |||
| 19 | + | - name: Tools | |||
| 20 | + | run: | | |||
| 21 | + | go install github.com/vektra/mockery/v3@v3.8.0 | |||
| 22 | + | go install honnef.co/go/tools/cmd/staticcheck@latest | |||
| 23 | + | echo "$(go env GOPATH)/bin" >> "$GITHUB_PATH" | |||
| 24 | + | - run: make check | |||
| 25 | + | - run: make race | |||
| 26 | + | - run: make mocks-check | |||
M go.mod +4 -16
| @@ -3,9 +3,9 @@ module github.com/bnema/neferafk | |||
| 3 | 3 | go 1.27 | |
| 4 | 4 | ||
| 5 | 5 | require ( | |
| 6 | - | github.com/bnema/nefergui v0.0.0 | |
| 7 | - | github.com/bnema/purego-pam v0.0.0 | |
| 8 | - | github.com/bnema/wlturbo v0.3.0 | |
| 6 | + | github.com/bnema/nefergui v0.3.0 | |
| 7 | + | github.com/bnema/purego-pam v0.1.0 | |
| 8 | + | github.com/bnema/wlturbo v0.5.0 | |
| 9 | 9 | github.com/bnema/zerowrap v1.4.1 | |
| 10 | 10 | github.com/godbus/dbus/v5 v5.2.2 | |
| 11 | 11 | github.com/stretchr/testify v1.12.1 | |
| @@ -15,7 +15,7 @@ require ( | |||
| 15 | 15 | require ( | |
| 16 | 16 | github.com/bnema/purego v0.13.0-bnema.1 // indirect | |
| 17 | 17 | github.com/bnema/purego-vulkan v0.6.0 // indirect | |
| 18 | - | github.com/bnema/purego-xkbcommon v0.0.0-20260928071113-e79265dfcdc2 // indirect | |
| 18 | + | github.com/bnema/purego-xkbcommon v0.1.0 // indirect | |
| 19 | 19 | github.com/go-text/typesetting v0.3.5 // indirect | |
| 20 | 20 | github.com/mattn/go-colorable v0.1.15 // indirect | |
| 21 | 21 | github.com/mattn/go-isatty v0.0.22 // indirect | |
| @@ -26,15 +26,3 @@ require ( | |||
| 26 | 26 | golang.org/x/text v0.42.0 // indirect | |
| 27 | 27 | gopkg.in/natefinch/lumberjack.v2 v2.2.1 // indirect | |
| 28 | 28 | ) | |
| 29 | - | ||
| 30 | - | replace github.com/bnema/purego-pam => ../purego-pam | |
| 31 | - | ||
| 32 | - | replace github.com/bnema/nefergui => ../veya/.worktrees/session-lock | |
| 33 | - | ||
| 34 | - | replace github.com/bnema/wlturbo => ../wlturbo/.worktrees/session-lock | |
| 35 | - | ||
| 36 | - | replace github.com/bnema/purego => ../purego | |
| 37 | - | ||
| 38 | - | replace github.com/bnema/purego-vulkan => ../purego-vulkan | |
| 39 | - | ||
| 40 | - | replace github.com/bnema/purego-xkbcommon => ../purego-xkbcommon/.worktrees/secret-bytes | |
| @@ -3,9 +3,9 @@ module github.com/bnema/neferafk | |||||
| 3 | go 1.27 | 3 | go 1.27 | ||
| 4 | 4 | ||||
| 5 | require ( | 5 | require ( | ||
| 6 | - | github.com/bnema/nefergui v0.0.0 | 6 | + | github.com/bnema/nefergui v0.3.0 |
| 7 | - | github.com/bnema/purego-pam v0.0.0 | 7 | + | github.com/bnema/purego-pam v0.1.0 |
| 8 | - | github.com/bnema/wlturbo v0.3.0 | 8 | + | github.com/bnema/wlturbo v0.5.0 |
| 9 | github.com/bnema/zerowrap v1.4.1 | 9 | github.com/bnema/zerowrap v1.4.1 | ||
| 10 | github.com/godbus/dbus/v5 v5.2.2 | 10 | github.com/godbus/dbus/v5 v5.2.2 | ||
| 11 | github.com/stretchr/testify v1.12.1 | 11 | github.com/stretchr/testify v1.12.1 | ||
| @@ -15,7 +15,7 @@ require ( | |||||
| 15 | require ( | 15 | require ( | ||
| 16 | github.com/bnema/purego v0.13.0-bnema.1 // indirect | 16 | github.com/bnema/purego v0.13.0-bnema.1 // indirect | ||
| 17 | github.com/bnema/purego-vulkan v0.6.0 // indirect | 17 | github.com/bnema/purego-vulkan v0.6.0 // indirect | ||
| 18 | - | github.com/bnema/purego-xkbcommon v0.0.0-20260928071113-e79265dfcdc2 // indirect | 18 | + | github.com/bnema/purego-xkbcommon v0.1.0 // indirect |
| 19 | github.com/go-text/typesetting v0.3.5 // indirect | 19 | github.com/go-text/typesetting v0.3.5 // indirect | ||
| 20 | github.com/mattn/go-colorable v0.1.15 // indirect | 20 | github.com/mattn/go-colorable v0.1.15 // indirect | ||
| 21 | github.com/mattn/go-isatty v0.0.22 // indirect | 21 | github.com/mattn/go-isatty v0.0.22 // indirect | ||
| @@ -26,15 +26,3 @@ require ( | |||||
| 26 | golang.org/x/text v0.42.0 // indirect | 26 | golang.org/x/text v0.42.0 // indirect | ||
| 27 | gopkg.in/natefinch/lumberjack.v2 v2.2.1 // indirect | 27 | gopkg.in/natefinch/lumberjack.v2 v2.2.1 // indirect | ||
| 28 | ) | 28 | ) | ||
| 29 | - | ||||
| 30 | - | replace github.com/bnema/purego-pam => ../purego-pam | |||
| 31 | - | ||||
| 32 | - | replace github.com/bnema/nefergui => ../veya/.worktrees/session-lock | |||
| 33 | - | ||||
| 34 | - | replace github.com/bnema/wlturbo => ../wlturbo/.worktrees/session-lock | |||
| 35 | - | ||||
| 36 | - | replace github.com/bnema/purego => ../purego | |||
| 37 | - | ||||
| 38 | - | replace github.com/bnema/purego-vulkan => ../purego-vulkan | |||
| 39 | - | ||||
| 40 | - | replace github.com/bnema/purego-xkbcommon => ../purego-xkbcommon/.worktrees/secret-bytes | |||