File tree Expand file tree Collapse file tree 8 files changed +220
-701
lines changed Expand file tree Collapse file tree 8 files changed +220
-701
lines changed Original file line number Diff line number Diff line change 39
39
- name : Setup Cachix
40
40
uses : cachix/cachix-action@v10
41
41
with :
42
- name : saber
42
+ name : deploydao
43
+ extraPullNames : saber
43
44
authToken : " ${{ secrets.CACHIX_AUTH_TOKEN }}"
44
45
45
46
# Install Solana
Original file line number Diff line number Diff line change 28
28
- name : Setup Cachix
29
29
uses : cachix/cachix-action@v10
30
30
with :
31
- name : saber
31
+ name : deploydao
32
+ extraPullNames : saber
32
33
authToken : ${{ secrets.CACHIX_AUTH_TOKEN }}
33
34
34
35
- name : Setup Node
71
72
- name : Setup Cachix
72
73
uses : cachix/cachix-action@v10
73
74
with :
74
- name : saber
75
+ name : deploydao
76
+ extraPullNames : saber
75
77
authToken : ${{ secrets.CACHIX_AUTH_TOKEN }}
76
78
77
79
- name : Build programs
89
91
name : Release crate on crates.io
90
92
steps :
91
93
- uses : actions/checkout@v2
92
-
93
- - uses : cachix/install-nix-action@v14
94
- with :
95
- install_url : https://nixos-nix-install-tests.cachix.org/serve/i6laym9jw3wg9mw6ncyrk6gjx4l34vvx/install
96
- install_options : " --tarball-url-prefix https://nixos-nix-install-tests.cachix.org/serve"
97
- extra_nix_config : |
98
- experimental-features = nix-command flakes
99
- - name : Setup Cachix
100
- uses : cachix/cachix-action@v10
101
- with :
102
- name : saber
103
- authToken : ${{ secrets.CACHIX_AUTH_TOKEN }}
104
-
105
94
- name : Install Rust nightly
106
95
uses : actions-rs/toolchain@v1
107
96
with :
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 15
15
"type" : " git" ,
16
16
"url" : " git+https://github.com/deploydao/migrator.git"
17
17
},
18
- "author" : " Saber Team <team@saber.so >" ,
19
- "homepage" : " https://saber.so " ,
20
- "license" : " GPL-3 .0" ,
18
+ "author" : " Deploy DAO <team@deploydao.com >" ,
19
+ "homepage" : " https://deploydao.com " ,
20
+ "license" : " Apache-2 .0" ,
21
21
"publishConfig" : {
22
22
"access" : " public"
23
23
},
65
65
"idl:generate:nolint" : " ./scripts/idl.sh && RUN_ESLINT=none ./scripts/generate-idl-types.sh"
66
66
},
67
67
"dependencies" : {
68
- "js-sha3" : " ^0.8.0" ,
69
68
"tiny-invariant" : " ^1.1.0" ,
70
69
"tslib" : " ^2.3.1"
71
70
},
Original file line number Diff line number Diff line change @@ -3,10 +3,10 @@ name = "migrator"
3
3
version = " 0.1.0"
4
4
description = " A Solana program for deploying and upgrading programs."
5
5
edition = " 2018"
6
- homepage = " https://saber.so "
6
+ homepage = " https://deploydao.com "
7
7
repository = " https://github.com/DeployDAO/migrator"
8
8
license = " Apache-2.0"
9
- keywords = [" solana" , " deploy" , " token " ]
9
+ keywords = [" solana" , " deploy" , " anchor " ]
10
10
11
11
[lib ]
12
12
crate-type = [" cdylib" , " lib" ]
Original file line number Diff line number Diff line change @@ -30,14 +30,13 @@ in pkgs.mkShell {
30
30
gnused
31
31
32
32
libiconv
33
+
34
+ anchor
35
+ spl-token-cli
33
36
] ++ ( pkgs . lib . optionals pkgs . stdenv . isDarwin [
34
37
pkgs . darwin . apple_sdk . frameworks . AppKit
35
38
pkgs . darwin . apple_sdk . frameworks . IOKit
36
39
pkgs . darwin . apple_sdk . frameworks . Foundation
37
- ] ) ++ ( pkgs . lib . optionals ( pkgs . stdenv . isLinux || pkgs . stdenv . isAarch64 ) [
38
- # for some reason these two only work on m1 macs
39
- anchor
40
- spl-token-cli
41
40
] ) ;
42
41
shellHook = ''
43
42
export PATH=$PATH:$HOME/.cargo/bin
Original file line number Diff line number Diff line change
1
+ describe ( "Migrator" , ( ) => {
2
+ it ( "works" , ( ) => {
3
+ // pass
4
+ } ) ;
5
+ } ) ;
Original file line number Diff line number Diff line change @@ -92,7 +92,6 @@ __metadata:
92
92
eslint-import-resolver-node : ^0.3.6
93
93
eslint-plugin-import : ^2.24.2
94
94
husky : ^7.0.2
95
- js-sha3 : ^0.8.0
96
95
lint-staged : ^11.2.0
97
96
mocha : ^9.1.2
98
97
prettier : ^2.4.1
You can’t perform that action at this time.
0 commit comments