fix: add input validation and error handling in process_data function #293
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: compile xfrpc in ubuntu-latest | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: prepare build environment | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y libjson-c-dev libevent-dev libssl-dev | |
- name: compile xfrpc | |
run: | | |
mkdir build | |
cd build | |
cmake .. | |
make |