Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

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

update golang to v1.21; set GOEXPERIMENT=loopvar (#1256)

* golang: update to v1.21, and set GOEXPERIMENT=loopvar

* golang: go mod tidy

authored by

bnewbold and committed by
GitHub
461c1da6 40e03079

+11 -5
+2 -2
.github/workflows/golang-test-lint.yml
··· 19 19 - name: Set up Go tooling 20 20 uses: actions/setup-go@v3 21 21 with: 22 - go-version: '1.20' 22 + go-version: '1.21' 23 23 - name: Dummy JS File 24 24 run: touch bskyweb/static/js/blah.js 25 25 - name: Check ··· 36 36 - name: Set up Go tooling 37 37 uses: actions/setup-go@v3 38 38 with: 39 - go-version: '1.20' 39 + go-version: '1.21' 40 40 - name: Dummy JS File 41 41 run: touch bskyweb/static/js/blah.js 42 42 - name: Lint
+2 -1
Dockerfile
··· 1 - FROM golang:1.20-bullseye AS build-env 1 + FROM golang:1.21-bullseye AS build-env 2 2 3 3 WORKDIR /usr/src/social-app 4 4 ··· 13 13 ENV GOOS="linux" 14 14 ENV GOARCH="amd64" 15 15 ENV CGO_ENABLED=1 16 + ENV GOEXPERIMENT="loopvar" 16 17 17 18 COPY . . 18 19
+3
bskyweb/Makefile
··· 2 2 SHELL = /bin/bash 3 3 .SHELLFLAGS = -o pipefail -c 4 4 5 + # https://github.com/golang/go/wiki/LoopvarExperiment 6 + export GOEXPERIMENT := loopvar 7 + 5 8 .PHONY: help 6 9 help: ## Print info about all commands 7 10 @echo "Commands:"
+1 -1
bskyweb/README.md
··· 24 24 25 25 ### Golang Daemon 26 26 27 - Install golang. We are generally using v1.20+. 27 + Install golang. We are generally using v1.21+. 28 28 29 29 In this directory (`bskyweb/`): 30 30
+1 -1
bskyweb/go.mod
··· 1 1 module github.com/bluesky-social/social-app/bskyweb 2 2 3 - go 1.20 3 + go 1.21 4 4 5 5 require ( 6 6 github.com/bluesky-social/indigo v0.0.0-20230504025040-8915cccc3319
+2
bskyweb/go.sum
··· 31 31 github.com/golang-jwt/jwt v3.2.2+incompatible/go.mod h1:8pz2t5EyA70fFQQSrl6XZXzqecmYZeUEB8OUGHkxJ+I= 32 32 github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= 33 33 github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= 34 + github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= 34 35 github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= 35 36 github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= 36 37 github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I= ··· 240 241 go.uber.org/atomic v1.11.0/go.mod h1:LUxbIzbOniOlMKjJjyPfpl4v+PKK2cNJn91OQbhoJI0= 241 242 go.uber.org/goleak v1.1.11-0.20210813005559-691160354723/go.mod h1:cwTWslyiVhfpKIDGSZEM2HlOvcqm+tG4zioyIeLoqMQ= 242 243 go.uber.org/goleak v1.1.11 h1:wy28qYRKZgnJTxGxvye5/wgWr1EKjmUDGYox5mGlRlI= 244 + go.uber.org/goleak v1.1.11/go.mod h1:cwTWslyiVhfpKIDGSZEM2HlOvcqm+tG4zioyIeLoqMQ= 243 245 go.uber.org/multierr v1.5.0/go.mod h1:FeouvMocqHpRaaGuG9EjoKcStLC43Zu/fmqdUMPcKYU= 244 246 go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU= 245 247 go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0=