-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into JA/patchBrukerIMT
- Loading branch information
Showing
17 changed files
with
477 additions
and
82 deletions.
There are no files selected for viewing
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,66 @@ | ||
# Based on: | ||
# https://semgrep.dev/docs/semgrep-ci/sample-ci-configs#github-actions | ||
# https://0xdbe.github.io/GitHub-HowToEnableCodeScanningWithSemgrep/ | ||
# https://medium.com/@mostafa.elnakeb/supercharging-your-code-quality-with-semgrep-sast-in-github-actions-c8f30eb26655 | ||
# Name of this GitHub Actions workflow. | ||
name: Semgrep OSS scan | ||
|
||
on: | ||
# Scan on-demand through GitHub Actions interface: | ||
workflow_dispatch: | ||
branches: | ||
- master | ||
# Schedule the CI job (this method uses cron syntax): | ||
schedule: | ||
- cron: '0 0 * * 1' # Run at start of week | ||
|
||
jobs: | ||
semgrep: | ||
# User definable name of this GitHub Actions job. | ||
name: semgrep-oss/scan | ||
# If you are self-hosting, change the following `runs-on` value: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
# Checkout the repository. | ||
- name: Clone source code | ||
uses: actions/checkout@v4 | ||
|
||
# Checkout custom rules | ||
- name: Checkout custom rules | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: JuliaComputing/semgrep-rules-julia | ||
ref: main | ||
path: ./JuliaRules | ||
|
||
# Prepare Python | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.10' | ||
|
||
# Install Semgrep | ||
- name: Install Semgrep | ||
run: python3 -m pip install semgrep | ||
|
||
# Run Semgrep | ||
- name: Scan with Semgrep | ||
run: | | ||
semgrep scan \ | ||
--config ./JuliaRules/rules \ | ||
--metrics=off \ | ||
--sarif --output report.sarif \ | ||
--oss-only \ | ||
--exclude=JuliaRules | ||
- name: Save Semgrep report | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: report.sarif | ||
path: report.sarif | ||
|
||
- name: Upload Semgrep report | ||
uses: github/codeql-action/upload-sarif@v3 | ||
with: | ||
sarif_file: report.sarif | ||
category: semgrep |
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
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
name = "MPIFiles" | ||
uuid = "371237a9-e6c1-5201-9adb-3d8cfa78fa9f" | ||
authors = ["Tobias Knopp <[email protected]>"] | ||
version = "0.16.0" | ||
version = "0.16.1" | ||
|
||
[deps] | ||
AxisArrays = "39de3d68-74b9-583c-8d2d-e117c070f3a9" | ||
|
@@ -35,25 +35,41 @@ UnitfulAngles = "6fb2a4bd-7999-5318-a3b2-8ad61056cd98" | |
UnitfulParsableString = "06c00241-927a-4d5b-bb5e-6b5a2ada3567" | ||
|
||
[compat] | ||
Aqua = "0.6" | ||
Aqua = "0.8" | ||
AxisArrays = "0.3, 0.4" | ||
CodecZlib = "0.7" | ||
Dates = "1" | ||
DelimitedFiles = "1" | ||
DocStringExtensions = "0.8, 0.9" | ||
FFTW = "1.3" | ||
FileIO = "1.0" | ||
Graphics = "0.4, 1.0" | ||
HDF5 = "0.14, 0.15, 0.16" | ||
HDF5 = "0.14, 0.15, 0.16, 0.17" | ||
HTTP = "1" | ||
ImageAxes = "0.6" | ||
ImageMetadata = "0.9" | ||
Inflate = "0.1.2" | ||
Interpolations = "0.12, 0.13, 0.14" | ||
LinearOperatorCollection = "1.1" | ||
StableRNGs = "1.0.0" | ||
InteractiveUtils = "1" | ||
Interpolations = "0.12, 0.13, 0.14, 0.15" | ||
LazyArtifacts = "1" | ||
LinearAlgebra = "1" | ||
LinearOperatorCollection = "1, 2" | ||
Mmap = "1" | ||
Pkg = "1" | ||
REPL = "1" | ||
Random = "1" | ||
Scratch = "1" | ||
SHA = "0.7" | ||
StableRNGs = "1" | ||
Statistics = "1" | ||
Test = "1" | ||
TOML = "1" | ||
Tar = "1" | ||
UUIDs = "1" | ||
Unitful = "1.13, 1.14, 1.15, 1.16, 1.17" | ||
UnitfulAngles = "0.6.1" | ||
UnitfulAngles = "0.6.1, 0.7" | ||
UnitfulParsableString = "0.1.6" | ||
julia = "1.5" | ||
julia = "1.9" | ||
|
||
[extras] | ||
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595" | ||
|
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
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
Oops, something went wrong.