[mirror] a bluesky bot to post golang projects
4
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #34 from till/updates

updates

authored by

Till! and committed by
GitHub
565f3443 4ff7bf28

+47 -7
+20 -1
.github/dependabot.yml
··· 4 4 directory: "/" 5 5 schedule: 6 6 interval: "daily" 7 + groups: 8 + go: 9 + update-types: 10 + - minor 11 + - patch 12 + cooldown: 13 + default-days: 7 7 14 - package-ecosystem: "github-actions" 8 15 directory: "/" 9 16 schedule: 10 - interval: "weekly" 17 + interval: "weekly" 18 + groups: 19 + action-deps: 20 + patterns: 21 + - "*" 22 + cooldown: 23 + default-days: 7 24 + - package-ecosystem: "docker" 25 + directory: "/" 26 + schedule: 27 + interval: "weekly" 28 + cooldown: 29 + default-days: 7
+24 -4
.github/workflows/pr.yml
··· 7 7 group: pr-${{ github.event.number }} 8 8 cancel-in-progress: true 9 9 10 + permissions: 11 + contents: read 12 + 10 13 jobs: 11 14 lint: 12 15 runs-on: ubuntu-latest 13 16 steps: 14 - - uses: actions/checkout@v4 15 - - uses: actions/setup-go@v5 17 + - uses: actions/checkout@v6.0.2 18 + with: 19 + persist-credentials: false 20 + - uses: actions/setup-go@v6.4.0 16 21 with: 17 22 go-version-file: go.mod 18 23 - uses: docker://morphy/revive-action:v2 ··· 20 25 test: 21 26 runs-on: ubuntu-latest 22 27 steps: 23 - - uses: actions/checkout@v4 24 - - uses: actions/setup-go@v5 28 + - uses: actions/checkout@v6.0.2 29 + with: 30 + persist-credentials: false 31 + - uses: actions/setup-go@v6.4.0 25 32 with: 26 33 go-version-file: go.mod 27 34 - run: go test -v ./... 35 + 36 + build: 37 + runs-on: ubuntu-latest 38 + steps: 39 + - uses: actions/checkout@v6.0.2 40 + with: 41 + persist-credentials: false 42 + - uses: docker/setup-buildx-action@v4.0.0 43 + - uses: docker/build-push-action@v7.1.0 44 + with: 45 + context: . 46 + push: false 47 + tags: bot:dev
+3 -2
Dockerfile
··· 1 - FROM golang:1.23 AS build 1 + FROM golang:1.25 AS build 2 2 3 3 WORKDIR /build 4 4 ··· 8 8 COPY . ./ 9 9 RUN go build ./cmd/... 10 10 11 - FROM debian:bookworm-slim 11 + FROM debian:13.4-slim 12 12 13 13 RUN DEBIAN_FRONTEND=noninteractive apt update \ 14 14 && apt install -y ca-certificates 15 15 16 + # nobody 16 17 USER 65534:65534 17 18 18 19 COPY --from=build --chown=65534:65534 /build/bot /usr/bin/bot