add: function to verify the response ip matches with the ip from wher… #1533
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: Rust testing | |
#Name of the process | |
#Moment when the code will run. | |
on: [ push ] | |
#Adding Color | |
env: | |
CARGO_TERM_COLOR: always | |
#Jobs that the action will do | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
#Used for get the repo | |
- uses: actions/checkout@v3 | |
#Build the proyect | |
- name: Build | |
run: cargo build --verbose | |
#Test the proyect | |
- name: Run tests | |
run: cargo test --verbose |