Skip to content

integrate with alloy-analyzer #142

integrate with alloy-analyzer

integrate with alloy-analyzer #142

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: 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@master
with:
adjacency_list_path: /github/workspace/testing/data/some-input-graph.txt
- 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: task run
run: |
task INPUT_FILE="/app/testing/data/some-input-graph.txt" run