porting all github actions from bluesky-social/indigo to tangled CI

all: rename "test_files" dirs to Go idiomatic "testdata".

The Go "testdata" convention (as respected by the cmd/go tool)
is briefly documented in https://pkg.go.dev/cmd/go

+1 -1
labeler/hiveai_test.go
··· 9 9 ) 10 10 11 11 func TestHiveParse(t *testing.T) { 12 - file, err := os.Open("test_files/hiveai_resp_example.json") 12 + file, err := os.Open("testdata/hiveai_resp_example.json") 13 13 if err != nil { 14 14 t.Fatal(err) 15 15 }
labeler/test_files/hiveai_resp_example.json labeler/testdata/hiveai_resp_example.json
+1 -1
repomgr/ingest_test.go
··· 60 60 61 61 repoman := NewRepoManager(maindb, cs, &util.FakeKeyManager{}) 62 62 63 - fi, err := os.Open("../testing/test_files/divy.repo") 63 + fi, err := os.Open("../testing/testdata/divy.repo") 64 64 if err != nil { 65 65 t.Fatal(err) 66 66 }
+1 -1
testing/feedpost_test.go
··· 22 22 assert := assert.New(t) 23 23 24 24 // this is a post-lex-refactor app.bsky.feed.post record 25 - inFile, err := os.Open("test_files/feedpost_record.cbor") 25 + inFile, err := os.Open("testdata/feedpost_record.cbor") 26 26 assert.NoError(err) 27 27 cborBytes, err := io.ReadAll(inFile) 28 28 assert.NoError(err)
+1 -1
testing/repo_slice_test.go
··· 17 17 18 18 func TestRepoSliceParse(t *testing.T) { 19 19 ctx := context.TODO() 20 - fi, err := os.Open("test_files/repo_slice.car") 20 + fi, err := os.Open("testdata/repo_slice.car") 21 21 if err != nil { 22 22 t.Fatal(err) 23 23 }
+1 -1
testing/sig_test.go
··· 22 22 func TestVerification(t *testing.T) { 23 23 assert := assert.New(t) 24 24 25 - fi, err := os.Open("test_files/divy.repo") 25 + fi, err := os.Open("testdata/divy.repo") 26 26 if err != nil { 27 27 t.Fatal(err) 28 28 }
testing/test_files/bafyreieovfuizojpw3zresz7sx3nk4trm2by23pt5rxbey3jme4uo5ogiu.car testing/testdata/bafyreieovfuizojpw3zresz7sx3nk4trm2by23pt5rxbey3jme4uo5ogiu.car
testing/test_files/did_plc_z5vnbioquyhivxirw3bbljmu.didDoc.json testing/testdata/did_plc_z5vnbioquyhivxirw3bbljmu.didDoc.json
testing/test_files/divy.repo testing/testdata/divy.repo
testing/test_files/feedpost_record.cbor testing/testdata/feedpost_record.cbor
testing/test_files/repo_slice.car testing/testdata/repo_slice.car
testing/test_files/repo_slice_record.json testing/testdata/repo_slice_record.json