-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* taskfile ci integration Signed-off-by: Horiodino <[email protected]> * fix updateVersion test cases Signed-off-by: House <[email protected]> * update test.yml --------- Signed-off-by: Horiodino <[email protected]> Signed-off-by: House <[email protected]> Co-authored-by: House <[email protected]>
- Loading branch information
1 parent
56d71fa
commit 1f1ed12
Showing
7 changed files
with
130 additions
and
115 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,27 @@ | ||
name: Taskfile Ci | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- task-ci | ||
|
||
jobs: | ||
test_all: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: git checkout | ||
uses: actions/checkout@v3 | ||
- name: Install Nix | ||
uses: DeterminateSystems/nix-installer-action@main | ||
- uses: DeterminateSystems/magic-nix-cache-action@main | ||
- name: Check Nixpkgs inputs | ||
uses: DeterminateSystems/flake-checker-action@main | ||
with: | ||
fail-mode: true | ||
flake-lock-path: ./bsf/flake.lock | ||
- uses: nicknovitski/nix-develop@v1 | ||
with: | ||
arguments: bsf/.#devShell | ||
- name: run tests | ||
run: task test |
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,7 @@ | ||
version: '3' | ||
|
||
tasks: | ||
test: | ||
desc: "Run all Go tests" | ||
cmds: | ||
- go test ./... |
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,12 +1,13 @@ | ||
|
||
packages { | ||
development = ["go@1.22.0", "delve@^1.22.0", "gotools@~0.7.0", "goreleaser@^1.24.0"] | ||
development = ["go@1.21.6", "[email protected]", "[email protected].0", "go-task@~3.37.2"] | ||
runtime = ["[email protected]"] | ||
} | ||
|
||
gomodule { | ||
name = "bsf" | ||
src = "./." | ||
name = "bsf" | ||
src = "./." | ||
ldFlags = null | ||
tags = null | ||
doCheck = false | ||
} | ||
|
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.