mirror of
https://github.com/lunchcat/sif.git
synced 2026-01-13 21:36:28 -08:00
- update actions/checkout from v2/v3 to v4 across all workflows - update reviewdog actions to latest versions - update jetbrains/qodana-action to v2024.3 - update actions/dependency-review-action to v4 - replace deprecated actions/create-release and upload-release-asset with softprops/action-gh-release@v2
30 lines
655 B
YAML
30 lines
655 B
YAML
name: Functional Test
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
branches: [main]
|
|
workflow_call:
|
|
|
|
jobs:
|
|
build-and-test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v4
|
|
with:
|
|
go-version: "1.23"
|
|
- name: Build Sif
|
|
run: make
|
|
- name: Run Sif with features
|
|
run: |
|
|
./sif -u https://google.com -dnslist small -dirlist small -dork -git -whois -cms
|
|
if [ $? -eq 0 ]; then
|
|
echo "Sif ran successfully"
|
|
else
|
|
echo "Sif exited with an error"
|
|
exit 1
|
|
fi
|