-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a workflow that runs Verus on each task #25
Conversation
@jaybosamiya It was harder than I expected to figure out how retrieve the latest released version of Verus. I ended up using a custom action that I cobbled together, but it left me wondering if there was a simpler way. |
Also, when I push to this PR, it appears to run the jobs twice, which seems sub-optimal. |
@mmcloughlin suggested the following script, which looks much simpler and easier to maintain, so I'm planning to move to that when there's time.
|
Yep, would suggest using something similar to what @mmcloughlin suggested. A few alternative ways to get that URL: curl -s https://api.github.com/repos/verus-lang/verus/releases | \
awk -F'"' '/download/{print $4}' | grep x86-linux curl -s https://api.github.com/repos/verus-lang/verus/releases | \
jq -r '.[].assets.[].browser_download_url' | grep x86-linux The running-twice happens because of the |
suggested by @mmcloughlin. Also turns off the `push` option for running the CI workflow.
since gh wants an auth token.
With some fiddling, I got a non-JS version working. Thanks for all of the suggestions! |
No description provided.