File tree Expand file tree Collapse file tree 2 files changed +20
-13
lines changed Expand file tree Collapse file tree 2 files changed +20
-13
lines changed Original file line number Diff line number Diff line change
1
+ name : ' Install nix'
2
+ description : ' Install nix and populate the store for the repo flake'
3
+
4
+ inputs :
5
+ github_token :
6
+ description : " github token to authenticate with to avoid being rate-limited"
7
+ default : ${{ github.token }}
8
+ required : false
9
+
10
+ runs :
11
+ using : composite
12
+ steps :
13
+ - uses : cachix/install-nix-action@v30
14
+ with :
15
+ github_access_token : ${{ inputs.github_token }}
16
+ - run : nix develop --command echo "dependencies installed"
17
+ shell : bash
Original file line number Diff line number Diff line change 51
51
steps :
52
52
- uses : actions/checkout@v4
53
53
- uses : ./.github/actions/setup-go-for-project
54
- - uses : cachix/install-nix-action@v30
55
- with :
56
- github_access_token : ${{ secrets.GITHUB_TOKEN }}
57
- # TODO(marun) Maybe figure out how to use `nix build` somehow i.e. make the default shell double as the default package
58
- - run : nix develop --command echo "dependencies installed"
54
+ - uses : ./.github/actions/install-nix
59
55
- name : Build AvalancheGo Binary
60
56
shell : bash
61
57
run : ./scripts/build.sh -r
75
71
steps :
76
72
- uses : actions/checkout@v4
77
73
- uses : ./.github/actions/setup-go-for-project
78
- - uses : cachix/install-nix-action@v30
79
- with :
80
- github_access_token : ${{ secrets.GITHUB_TOKEN }}
81
- - run : nix develop --command echo "dependencies installed"
74
+ - uses : ./.github/actions/install-nix
82
75
- name : Build AvalancheGo Binary
83
76
shell : bash
84
77
run : ./scripts/build.sh -r
97
90
steps :
98
91
- uses : actions/checkout@v4
99
92
- uses : ./.github/actions/setup-go-for-project
100
- - uses : cachix/install-nix-action@v30
101
- with :
102
- github_access_token : ${{ secrets.GITHUB_TOKEN }}
103
- - run : nix develop --command echo "dependencies installed"
93
+ - uses : ./.github/actions/install-nix
104
94
- name : Build AvalancheGo Binary
105
95
shell : bash
106
96
run : ./scripts/build.sh
You can’t perform that action at this time.
0 commit comments