Skip to content

Commit

Permalink
Merge pull request #26 from PalladioSimulator/dr6817-patch-1
Browse files Browse the repository at this point in the history
Update and rename codeql-analysis.yml to quality.yml
  • Loading branch information
dr6817 authored Jan 31, 2024
2 parents 1d4a53f + 4ca1b02 commit cd09ab5
Show file tree
Hide file tree
Showing 5 changed files with 95 additions and 63 deletions.
37 changes: 0 additions & 37 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

File renamed without changes.
26 changes: 0 additions & 26 deletions .github/workflows/maven-verify.yml

This file was deleted.

41 changes: 41 additions & 0 deletions .github/workflows/page.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: GitHub Page

on:
push:
branches: ["main"]
workflow_dispatch:

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: "page"
cancel-in-progress: false

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Build with Jekyll
uses: actions/jekyll-build-pages@v1
with:
source: ./
destination: ./_site
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
54 changes: 54 additions & 0 deletions .github/workflows/quality.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# This workflow enables continuous quality assurance
name: Continual Improvement Process

on:
push: # push on any branch
pull_request: # pull request on any branch
schedule:
- cron: '4 2 * * 0' # once a week, Sundays at 02:04 UTC.
workflow_dispatch: # manual trigger

permissions:
actions: read
contents: read
security-events: write

jobs:
verify:
name: Maven Verify
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set Up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
- name: Run Maven
run: mvn -B -U clean verify

analyze:
name: CodeQL Analyze
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set Up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: java
config-file: ./.github/codeql.yml
- name: Autobuild Repository
uses: github/codeql-action/autobuild@v3
- name: Perform Analyze
uses: github/codeql-action/analyze@v3

0 comments on commit cd09ab5

Please sign in to comment.