Skip to content

Commit

Permalink
Add GitHub Actions workflow to check for HTTP URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
marcphilipp committed Nov 12, 2024
1 parent 267234d commit 15618be
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/nohttp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Verify HTTPS URLs are used

on:
push:
branches:
- main
- 'r5.*'
pull_request:
branches:
- '*'
jobs:
nohttp:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/cache@v1
with:
path: /root/.jbang
key: $-jbang-$
restore-keys: |
$-jbang-
- name: 'Run nohttp'
uses: jbangdev/jbang-action@v0.119.0
with:
script: io.spring.nohttp:nohttp-cli:0.0.9
scriptargs: "-D=\\.git -D=build -D=target -D=apache-ant-.+ -F=maven-wrapper\\.properties -F=mvnw\\.cmd -Fmvnw"
env:
JBANG_REPO: /root/.jbang/repository

0 comments on commit 15618be

Please sign in to comment.