-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add release script * Add live test to run weekly and on push * Rename workflow for clarity
- Loading branch information
1 parent
ac29f9f
commit 5dba3ad
Showing
4 changed files
with
47 additions
and
1 deletion.
There are no files selected for viewing
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Makefile CI | ||
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
schedule: | ||
- cron: "5 5 * * 6" | ||
|
||
jobs: | ||
|
||
build: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ 'ubuntu-22.04', 'macos-latest' ] | ||
|
||
runs-on: ${{ matrix.os }} | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Install dependencies and run test | ||
run: make live | ||
env: | ||
GH_TOKEN: ${{ github.token }} | ||
NVD_API_KEY: ${{ secrets.NVD_API_KEY }} | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: report-${{ matrix.os }} | ||
path: WebGoat/statica.html |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/bash | ||
version=$1 | ||
|
||
set -euo pipefail | ||
brew update | ||
gh release create v$version --generate-notes | ||
brew bump-formula-pr --version $version statica -n | ||
|
||
## brew tap simpsonjulian/ | ||
# brew audit --new --tap simpsonjulian/core --formula statica -v | ||
|
||
# ensure correct tap is done | ||
# brew bump-formula-pr will work fine |