Skip to content

Commit

Permalink
ci: update configs and scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
cyb3rko committed Oct 26, 2024
1 parent 173584d commit f9745d1
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 12 deletions.
5 changes: 4 additions & 1 deletion .github/perf-impr-calc.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,7 @@

print("Writing changelog output")
changelog = changelog.replace(marker, str(rounded_percent))
print(f"::set-output name=changelog::{changelog}")
with open(os.environ["GITHUB_OUTPUT"], "a") as f:
f.write("changelog<<EOF\n")
f.write(changelog)
f.write("\nEOF\n")
5 changes: 4 additions & 1 deletion .github/workflows/continuous_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,15 @@ on:
- '**.md'
- '**.csv'
- '**.py'
- 'app/src/main/baseline-prof.txt'
- 'app/src/release/generated/baselineProfiles/**-prof.txt'
- 'app/**.pro'
- 'LICENSE'
- '.github/workflows/release-builder.yml'
- '.github/workflows/fossa.yml'
- '.github/workflows/update-device-catalog.yml'
- '.github/FUNDING.yml'
- '.editorconfig'
- '.idea/**'
pull_request:

jobs:
Expand Down
18 changes: 10 additions & 8 deletions .github/workflows/fossa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,26 +11,28 @@ on:
- '**.md'
- '**.csv'
- '**.py'
- 'app/src/main/baseline-prof.txt'
- '.github/workflows/**'
- '.github/FUNDING.yml'

- 'app/src/release/generated/baselineProfiles/**-prof.txt'
- 'app/**.pro'
- '.github/**'
- '.editorconfig'
- '.idea/**'

jobs:
scan:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4

- name: Setup JDK
uses: actions/setup-java@v4
with:
with:
distribution: 'zulu'
java-version: '17'

- name: Install FOSSA CLI
run: "curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install-latest.sh | sudo bash"

- name: Run FOSSA scan
env:
FOSSA_API_KEY: ${{ secrets.FOSSA_API_KEY }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/update-device-catalog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,5 @@ jobs:
git config user.email github-actions@github.com
git checkout main
git add README.md
git commit -m "repo: Fill README with excluded devices"
git push
git commit -m "docs: fill README with excluded devices"
git push

0 comments on commit f9745d1

Please sign in to comment.