Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
fbarbu15 committed Jun 3, 2024
1 parent 1d07dda commit 39a5e69
Showing 1 changed file with 8 additions and 22 deletions.
30 changes: 8 additions & 22 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,34 +33,20 @@ jobs:
repository: status-im/status-go
path: status-go

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.18'
- name: Install Nix package manager
run: sh <(curl -L https://nixos.org/nix/install) --no-daemon

- name: Build status-cli binary
continue-on-error: true
run: |
cd status-go/cmd/status-cli
go build
. /home/runner/.nix-profile/etc/profile.d/nix.sh
cd status-go
nix-shell --pure --run 'make status-cli'
- name: Copy status-cli binary to test repo root
run: |
cp status-go/cmd/status-cli/status-cli .
# - name: Install Nix package manager
# run: sh <(curl -L https://nixos.org/nix/install) --no-daemon

# - name: Build status-cli binary
# continue-on-error: true
# run: |
# . /home/runner/.nix-profile/etc/profile.d/nix.sh
# cd status-go
# nix-shell --pure --run 'make status-cli'

# - name: Copy status-cli binary to test repo root
# run: |
# ls status-go/build/bin/
# cp status-go/build/bin/status-cli .
ls build/bin/
cp build/bin/status-cli .
- name: Run tests
run: |
Expand Down

0 comments on commit 39a5e69

Please sign in to comment.