Skip to content

Commit

Permalink
chore: vanity module path
Browse files Browse the repository at this point in the history
  • Loading branch information
johnletey committed Jul 23, 2024
1 parent 66cf1a7 commit 20b20c9
Show file tree
Hide file tree
Showing 6 changed files with 71 additions and 4 deletions.
14 changes: 14 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# CODEOWNERS: https://help.github.com/articles/about-codeowners/

# Everything goes through the following "global owners" by default. Unless a
# later match takes precedence, they will be requested for review when someone
# opens a PR. Note that the last matching pattern takes precedence, so global
# owners are only requested if there isn't a more specific codeowner specified
# below. For this reason, the global codeowners are often repeated in
# package-level definitions.

* @noble-assets/engineering

# CODEOWNERS for the CODEOWNER file

/.github/CODEOWNERS @johnletey
45 changes: 45 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Deploy to GitHub Pages

on:
push:
branches:
- main

permissions:
contents: read
id-token: write
pages: write

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5

- name: Install Vangen
run: |
git clone https://github.com/noble-assets/vangen
cd vangen && go install && cd ..
rm -rf vangen
- name: Build Site
run: vangen

- name: Upload Artifacts
uses: actions/upload-pages-artifact@v3
with:
path: ./vangen

deploy:
runs-on: ubuntu-latest
needs: build
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
autocctp.dev
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
module github.com/noble-assets/autocctp
module autocctp.dev

go 1.21

require (
cosmossdk.io/errors v1.0.0
cosmossdk.io/math v1.0.0-beta.4
github.com/circlefin/noble-cctp v0.0.0-20240510135541-253cf7eb9436
github.com/cosmos/cosmos-sdk v0.45.16
Expand All @@ -18,6 +17,7 @@ require (
cosmossdk.io/api v0.2.6 // indirect
cosmossdk.io/core v0.5.1 // indirect
cosmossdk.io/depinject v1.0.0-alpha.3 // indirect
cosmossdk.io/errors v1.0.0 // indirect
filippo.io/edwards25519 v1.0.0 // indirect
github.com/4meepo/tagalign v1.3.3 // indirect
github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect
Expand Down
3 changes: 1 addition & 2 deletions middleware.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"errors"
"fmt"

"autocctp.dev/types"
"cosmossdk.io/math"

cctpkeeper "github.com/circlefin/noble-cctp/x/cctp/keeper"
cctptypes "github.com/circlefin/noble-cctp/x/cctp/types"
sdk "github.com/cosmos/cosmos-sdk/types"
Expand All @@ -15,7 +15,6 @@ import (
channeltypes "github.com/cosmos/ibc-go/v4/modules/core/04-channel/types"
porttypes "github.com/cosmos/ibc-go/v4/modules/core/05-port/types"
"github.com/cosmos/ibc-go/v4/modules/core/exported"
"github.com/noble-assets/autocctp/types"
)

var _ porttypes.IBCModule = &Middleware{}
Expand Down
8 changes: 8 additions & 0 deletions vangen.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"domain": "autocctp.dev",
"repositories": [
{
"url": "https://github.com/noble-assets/autocctp"
}
]
}

0 comments on commit 20b20c9

Please sign in to comment.