Skip to content

Commit

Permalink
fix: Formatting and ECLINT issue (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushjain17 authored May 28, 2024
1 parent 16bf460 commit 1c34dfa
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 26 deletions.
3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ trim_trailing_whitespace = true
[*.json]
indent_size = 2

[*.yaml]
indent_size = 4

[*.md]
max_line_length = off
trim_trailing_whitespace = false
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/ci_merge_main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ jobs:
- name: Semver release
shell: bash
run: |
git config user.email "[email protected]"
git config user.name "Superposition Bot"
cog bump --auto --skip-ci-override "[skip ci]"
git config user.email "[email protected]"
git config user.name "Superposition Bot"
cog bump --auto --skip-ci-override "[skip ci]"
- name: Push code to main
shell: bash
run: |
git push origin main
git push origin --tags
git push origin main
git push origin --tags
42 changes: 21 additions & 21 deletions .github/workflows/nix.yaml
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
name: "CI Nix"
on:
# Run only when pushing to main branch, and making PRs
push:
branches:
- main
pull_request:
# Run only when pushing to main branch, and making PRs
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-14]
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
with:
extra-conf: |
trusted-public-keys = cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
substituters = https://cache.garnix.io?priority=41 https://cache.nixos.org/
- uses: yaxitech/nix-install-pkgs-action@v3
with:
packages: "github:srid/nixci"
- run: nixci build
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-14]
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
with:
extra-conf: |
trusted-public-keys = cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
substituters = https://cache.garnix.io?priority=41 https://cache.nixos.org/
- uses: yaxitech/nix-install-pkgs-action@v3
with:
packages: "github:srid/nixci"
- run: nixci build

0 comments on commit 1c34dfa

Please sign in to comment.