Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
purescript-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
142
Issues
142
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gargantext
purescript-gargantext
Commits
4868dbf0
Commit
4868dbf0
authored
Dec 04, 2024
by
Przemyslaw Kaminski
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'puresript-format-ci' into 'dev'
fix(ci): add check-lint properly See merge request
!489
parents
9658b382
ca804ed5
Pipeline
#7125
passed with stages
in 17 minutes and 1 second
Changes
2
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
14 deletions
+26
-14
.gitlab-ci.yml
.gitlab-ci.yml
+12
-12
flake.nix
flake.nix
+14
-2
No files found.
.gitlab-ci.yml
View file @
4868dbf0
...
...
@@ -5,9 +5,9 @@ image: nixos/nix:2.24.8
stages
:
# - deps
-
check-lint
-
compile
-
test
-
lint
# deps:
# stage: deps
...
...
@@ -17,6 +17,17 @@ stages:
# #- node_modules/
# script:
# - nix-shell shell.nix --run 'bun install --skip-builds'
check-lint
:
stage
:
check-lint
cache
:
paths
:
-
/nix/store
-
node_modules/
-
output/
-
.spago/
script
:
-
nix --extra-experimental-features "nix-command flakes" run .#check-lint
compile
:
stage
:
compile
...
...
@@ -46,14 +57,3 @@ test:
-
nix-collect-garbage --delete-older-than 14d
lint
:
stage
:
lint
cache
:
paths
:
-
/nix/store
-
node_modules/
-
output/
-
.spago/
script
:
-
nix --extra-experimental-features "nix-command flakes" run .#purs-tidy -- check src
flake.nix
View file @
4868dbf0
...
...
@@ -45,7 +45,8 @@
echo "blame.ignoreRevsFile has been set to .git-blame-ignore-revs."
fi
''
;
build-zephyr
=
pkgs
.
writeShellScriptBin
"build-zephyr"
''
set -e
...
...
@@ -74,6 +75,17 @@
npm ci
''
;
};
check-lint
=
pkgs
.
writeShellApplication
{
name
=
"check-lint"
;
runtimeInputs
=
dependencies
;
text
=
''
set -e
echo "Checking format"
purs-tidy check "src"
''
;
};
install
=
pkgs
.
writeShellApplication
{
name
=
"install"
;
runtimeInputs
=
dependencies
;
...
...
@@ -155,9 +167,9 @@
self
.
packages
.
${
system
}
.
build
self
.
packages
.
${
system
}
.
build-css
self
.
packages
.
${
system
}
.
compile
self
.
packages
.
${
system
}
.
check-lint
self
.
packages
.
${
system
}
.
test-ps
self
.
packages
.
${
system
}
.
repl
setup-gitblame
build-zephyr
minify-bundle
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment