Skip to content

refactor: remove postal_code for test #2

refactor: remove postal_code for test

refactor: remove postal_code for test #2

name: Protolock Check & Update
on:
push:
paths:
- '**.proto'
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Download protolock
run: |
wget https://github.com/nilslice/protolock/releases/download/v0.16.0/protolock.20220302T184110Z.linux-amd64.tgz
tar -zxvf protolock.20220302T184110Z.linux-amd64.tgz
- name: Initialize protolock if needed
run: |
if [ ! -f proto.lock ]; then
./protolock init --protoroot=./bankdemo
fi
- name: Run protolock status
run: ./protolock status --protoroot=./bankdemo
- name: Update proto.lock file
run: ./protolock commit --protoroot=./bankdemo
- name: Commit changes
uses: EndBug/add-and-commit@v9
with:
author_name: GitHub Action
author_email: action@github.com
message: 'Update proto.lock file'
add: proto.lock