Skip to content

Commit 0e77457

Browse files
authored
Fix CI (#324)
1 parent ea68c50 commit 0e77457

File tree

3 files changed

+7
-13
lines changed

3 files changed

+7
-13
lines changed

.github/workflows/security.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242

4343
- name: Run OSSAR
4444
id: ossar
45-
uses: github/ossar-action@v2
45+
uses: github/ossar-action@v1
4646

4747
- name: Upload OSSAR results
4848
if: always()
@@ -53,21 +53,15 @@ jobs:
5353
semgrep:
5454
name: Semgrep
5555
runs-on: ubuntu-latest
56+
container:
57+
image: semgrep/semgrep
5658

5759
steps:
5860
- name: Checkout
5961
uses: actions/checkout@v4
6062

6163
- name: Run Semgrep
62-
uses: returntocorp/semgrep-action@v1
63-
with:
64-
config: >-
65-
p/ci
66-
p/secrets
67-
auditOn: >-
68-
push
69-
pull_request
70-
generateSarif: true
64+
run: semgrep scan --config auto --sarif > semgrep.sarif
7165

7266
- name: Upload Semgrep results
7367
if: always()

.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,4 @@ jobs:
4747
with:
4848
file: ./coverage.xml
4949
fail_ci_if_error: true
50+
token: ${{ secrets.CODECOV_TOKEN }}

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,8 @@
44

55
---
66

7-
[![Tests](https://github.com/Rose-STL-Lab/torchTS/workflows/Tests/badge.svg)](https://github.com/Rose-STL-Lab/torchTS/actions?query=workflow%3ATests)
8-
[![Quality](https://github.com/Rose-STL-Lab/torchTS/workflows/Quality/badge.svg)](https://github.com/Rose-STL-Lab/torchTS/actions?query=workflow%3AQuality)
9-
[![Docs](https://github.com/Rose-STL-Lab/torchTS/workflows/Docs/badge.svg)](https://github.com/Rose-STL-Lab/torchTS/actions?query=workflow%3ADocs)
7+
[![Tests](https://github.com/Rose-STL-Lab/torchTS/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/Rose-STL-Lab/torchTS/actions/workflows/test.yml)
8+
[![Docs](https://github.com/Rose-STL-Lab/torchTS/actions/workflows/docs.yml/badge.svg?branch=main)](https://github.com/Rose-STL-Lab/torchTS/actions/workflows/docs.yml)
109
[![pre-commit.ci](https://results.pre-commit.ci/badge/github/Rose-STL-Lab/torchTS/main.svg)](https://results.pre-commit.ci/latest/github/Rose-STL-Lab/torchTS/main)
1110
[![Codecov](https://img.shields.io/codecov/c/github/Rose-STL-Lab/torchTS?label=Coverage&logo=codecov)](https://app.codecov.io/gh/Rose-STL-Lab/torchTS)
1211
[![PyPI](https://img.shields.io/pypi/v/torchts?label=PyPI&logo=python)](https://pypi.org/project/torchts)

0 commit comments

Comments
 (0)