Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove old packages and add pre-commit config #2

Merged
merged 6 commits into from
Nov 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/workflows/gha-updater.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
name: GitHub Actions Version Updater

# Controls when the action will run.
# yamllint disable-line rule:truthy
on:
schedule:
# Automatically run on every Sunday
- cron: "0 0 * * 0"

jobs:
gha-updater:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
# [Required] Access token with `workflow` scope.
token: ${{ secrets.WORKFLOW_SECRET }}
- name: Run GitHub Actions Version Updater
uses: saadmk11/github-actions-version-updater@v0.8.1
with:
# [Required] Access token with `workflow` scope.
token: ${{ secrets.WORKFLOW_SECRET }}
16 changes: 16 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
# In the absence of using the pre-commit.ci service...
name: pre-commit

# yamllint disable-line rule:truthy
on:
pull_request:
push:

jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v3
- uses: pre-commit/action@v3.0.0
25 changes: 25 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
fail_fast: false
repos:
- repo: meta
hooks:
- id: check-hooks-apply
- id: check-useless-excludes
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: "v4.5.0"
hooks:
- id: check-added-large-files
- id: check-case-conflict
- id: check-merge-conflict
- id: check-yaml
- id: end-of-file-fixer
- id: fix-byte-order-marker
- id: mixed-line-ending
args: [--fix, "lf"]
- id: no-commit-to-branch
args: [--branch, main, --branch, master, --branch, devel]
- id: trailing-whitespace
- repo: https://github.com/adrienverge/yamllint
rev: "v1.33.0"
hooks:
- id: yamllint
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ Spack provides the `dev-build` feature for building and installing from a custom
For example:
````
> git clone git@github.com:sstsimulator/sst-core.git -b devel src
> spack dev-build -d src sst-core@devel +pdes-mpi
> spack dev-build -d src sst-core@devel +pdes-mpi
````
is equivalent to just running
````
Expand Down Expand Up @@ -293,4 +293,3 @@ o | | | | | | | | | | | | | zlib
o expat
o libbsd
````

Empty file added sst/packages/.gitkeep
Empty file.
30 changes: 0 additions & 30 deletions sst/packages/dramsim2/package.py

This file was deleted.

28 changes: 0 additions & 28 deletions sst/packages/goblin-hmc-sim/package.py

This file was deleted.

23 changes: 0 additions & 23 deletions sst/packages/hbm-dramsim2/package.py

This file was deleted.

20 changes: 0 additions & 20 deletions sst/packages/hybridsim/makefile.patch

This file was deleted.

37 changes: 0 additions & 37 deletions sst/packages/hybridsim/package.py

This file was deleted.

27 changes: 0 additions & 27 deletions sst/packages/intel-pin/package.py

This file was deleted.

32 changes: 0 additions & 32 deletions sst/packages/nvdimmsim/package.py

This file was deleted.

35 changes: 0 additions & 35 deletions sst/packages/ramulator/package.py

This file was deleted.

Loading