Skip to content

Commit

Permalink
CI: added buf.lock to clear warnings and merged steps
Browse files Browse the repository at this point in the history
  • Loading branch information
glpatcern committed Aug 12, 2024
1 parent 9ac620a commit 540302a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,15 @@ jobs:
run: |
mkdir /root/.ssh
python3 -c "import os; file = open('/root/.ssh/id_rsa', 'w'); file.write(os.environ['SSH_KEY']); file.close()"
shasum /root/.ssh/id_rsa
chmod 400 /root/.ssh/id_rsa
stat /root/.ssh/id_rsa
touch /root/.ssh/known_hosts
chmod 400 /root/.ssh/known_hosts
ssh-keyscan -H github.com > /etc/ssh/ssh_known_hosts 2> /dev/null
- name: build
- name: build-and-push
run: |
buf generate
sed -i 's/go_eosgrpc/go-eosgrpc/' build/*.go
- name: push-git
run: |
cd ..
git clone git+ssh://[email protected]/cern-eos/go-eosgrpc
cd go-eosgrpc
git config user.email "[email protected]"
Expand Down
8 changes: 8 additions & 0 deletions buf.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Generated by buf. DO NOT EDIT.
version: v1
deps:
- remote: buf.build
owner: protocolbuffers
repository: wellknowntypes
commit: f17e05fe4a764a3482b8e033daec742e
digest: shake256:886495c560d96bc48bef49e17e3d33430fa1f6c735b0cee40ef83161824b01c2d2f342d81ca02aadeed52aa3cf4a8273d5ab9584fbb595b71e7e44240caedb00

0 comments on commit 540302a

Please sign in to comment.