Skip to content

Commit

Permalink
Merge pull request #1 from snivilised/chore/auto-check
Browse files Browse the repository at this point in the history
chore(gh-actions): apply auto-check edits
  • Loading branch information
plastikfan committed Apr 29, 2024
2 parents f52c728 + 4507acc commit eba9a89
Show file tree
Hide file tree
Showing 16 changed files with 19 additions and 332 deletions.
64 changes: 0 additions & 64 deletions .github/workflows/auto-check-workflow.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/ci-workflow.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Astrolib Continuous Integration
name: Traverse Continuous Integration
on:
push:

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-workflow.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Astrolib Release
name: Traverse Release

on:
push:
Expand Down
2 changes: 1 addition & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ before:
# - go mod generate

builds:
- id: "astrolib"
- id: "traverse"
env:
- CGO_ENABLED=0
goos:
Expand Down
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
"repotoken",
"shogo",
"sidewalk",
"snivilised",
"staticcheck",
"structcheck",
"stylecheck",
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# 🌟 astrolib: ___Go template for library modules___
# 🌟 traverse: ___Go template for library modules___

[![A B](https://img.shields.io/badge/branching-commonflow-informational?style=flat)](https://commonflow.org)
[![A B](https://img.shields.io/badge/merge-rebase-informational?style=flat)](https://git-scm.com/book/en/v2/Git-Branching-Rebasing)
[![A B](https://img.shields.io/badge/branch%20history-linear-blue?style=flat)](https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/managing-a-branch-protection-rule)
[![Go Reference](https://pkg.go.dev/badge/github.com/snivilised/astrolib.svg)](https://pkg.go.dev/github.com/snivilised/astrolib)
[![Go report](https://goreportcard.com/badge/github.com/snivilised/astrolib)](https://goreportcard.com/report/github.com/snivilised/astrolib)
[![Coverage Status](https://coveralls.io/repos/github/snivilised/astrolib/badge.svg?branch=main)](https://coveralls.io/github/snivilised/astrolib?branch=main&kill_cache=1)
[![Astrolib Continuous Integration](https://github.com/snivilised/astrolib/actions/workflows/ci-workflow.yml/badge.svg)](https://github.com/snivilised/astrolib/actions/workflows/ci-workflow.yml)
[![Go Reference](https://pkg.go.dev/badge/github.com/snivilised/traverse.svg)](https://pkg.go.dev/github.com/snivilised/traverse)
[![Go report](https://goreportcard.com/badge/github.com/snivilised/traverse)](https://goreportcard.com/report/github.com/snivilised/traverse)
[![Coverage Status](https://coveralls.io/repos/github/snivilised/traverse/badge.svg?branch=main)](https://coveralls.io/github/snivilised/traverse?branch=main&kill_cache=1)
[![Astrolib Continuous Integration](https://github.com/snivilised/traverse/actions/workflows/ci-workflow.yml/badge.svg)](https://github.com/snivilised/traverse/actions/workflows/ci-workflow.yml)
[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https://github.com/pre-commit/pre-commit)
[![A B](https://img.shields.io/badge/commit-conventional-commits?style=flat)](https://www.conventionalcommits.org/)

Expand Down Expand Up @@ -63,7 +63,7 @@ Automated via `automate-checklist.sh` script. When the user instantiates the rep

##### ✅ Rename import statements

+ `rename import paths`: global search and replace ___snivilised/astrolib___ to ___pandora/maestro___
+ `rename import paths`: global search and replace ___snivilised/traverse___ to ___pandora/maestro___

##### ✅ Identifiers

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.3.4
v0.1.0
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/snivilised/astrolib
module github.com/snivilised/traverse

go 1.22.0

Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions i18n/messages-errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
// that this message has been removed from the translation files, so
// it is not useable at run time.
type FooBarTemplData struct {
astrolibTemplData
traverseTemplData
Path string
Reason error
}
Expand All @@ -21,7 +21,7 @@ type FooBarTemplData struct {
// name of the library implementing this template project.
func (td FooBarTemplData) Message() *i18n.Message {
return &i18n.Message{
ID: "foo-bar.astrolib.nav",
ID: "foo-bar.traverse.nav",
Description: "Foo Bar description",
Other: "foo bar failure '{{.Path}}' (reason: {{.Reason}})",
}
Expand Down
2 changes: 1 addition & 1 deletion i18n/messages-general.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
)

type UsingConfigFileTemplData struct {
astrolibTemplData
traverseTemplData
ConfigFileName string
}

Expand Down
8 changes: 4 additions & 4 deletions i18n/translate-defs.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ package i18n

// CLIENT-TODO: Should be updated to use url of the implementing project,
// so should not be left as astrolib. (this should be set by auto-check)
const AstrolibSourceID = "github.com/snivilised/astrolib"
const TraverseSourceID = "github.com/snivilised/traverse"

type astrolibTemplData struct{}
type traverseTemplData struct{}

func (td astrolibTemplData) SourceID() string {
return AstrolibSourceID
func (td traverseTemplData) SourceID() string {
return TraverseSourceID
}
Loading

0 comments on commit eba9a89

Please sign in to comment.