integrate with alloy-analyzer #132
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: Pull Request Verification | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
cdd-e2e: | |
runs-on: ubuntu-latest | |
# strategy: | |
# matrix: | |
# input_file: | |
# - adj_list_cycle.txt | |
# - adj_list_no_cycle.txt | |
steps: | |
- name: checkout current branch | |
uses: actions/checkout@v4 | |
with: | |
repository: ${{ github.repository }} | |
ref: ${{ github.GITHUB_REF_NAME }} # current branch name | |
- name: install task | |
uses: arduino/setup-task@v2 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: create graph input file | |
run: | | |
echo -e "1 2\n2 3\n3 1" > testing/data/some-input-graph.txt | |
- name: circular-dependency-detector | |
uses: tcm5343/circular-dependency-detector@dev | |
with: | |
adjacency_list_path: testing/data/some-input-graph.txt | |
- name: task run | |
run: | | |
task INPUT_FILE="testing/data/some-input-graph.txt" run |