Skip to content

Commit

Permalink
multiple filters feature (#79)
Browse files Browse the repository at this point in the history
* multiple filters feature
* bump up
  • Loading branch information
jmnote authored May 26, 2023
1 parent 287039a commit 22ff207
Show file tree
Hide file tree
Showing 151 changed files with 5,240 additions and 4,146 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,19 +53,18 @@ jobs:
steps:
- uses: actions/setup-go@v4
- uses: actions/checkout@v3
- run: go test ./... -v -failfast
- run: go test ./... -race -failfast

go-test-coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v4
- uses: actions/checkout@v3
- run: go test ./... -race -covermode=atomic -coverprofile=coverage.out
# https://about.codecov.io/blog/getting-started-with-code-coverage-for-golang/
- run: go test ./... -race -covermode=atomic -coverprofile=coverprofile
- run: cat coverprofile | grep -v yaccpar > coverage.out
- uses: codecov/codecov-action@v3
# https://github.com/mattn/goveralls#github-actions
- run: go install github.com/mattn/goveralls@latest
- run: goveralls -service=github -coverprofile=coverage.out
- run: goveralls -coverprofile=coverage.out -service=github
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down
10 changes: 4 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
FROM golang:1.19-alpine AS base
FROM golang:1.20-alpine AS base
ARG VERSION
WORKDIR /temp/
COPY . ./
RUN go mod download -x
RUN go build -ldflags="-X 'main.Version=$VERSION'" -o /app/bin/lethe
RUN cp -a ./etc /app/etc
RUN cd cli && go build -o /app/bin/lethetool

FROM alpine:3.15
FROM alpine:3.18
COPY --from=base /app /app
RUN set -x \
&& apk add --no-cache coreutils util-linux
RUN set -x && apk add --no-cache coreutils util-linux curl grep

WORKDIR /app
WORKDIR /app
ENTRYPOINT ["/app/bin/lethe"]
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION := v0.2.0-beta.1
VERSION := v0.2.0
IMAGE := ghcr.io/kuoss/lethe:$(VERSION)

install-dev:
Expand Down
22 changes: 0 additions & 22 deletions cli/cmd/list/list.go

This file was deleted.

62 changes: 0 additions & 62 deletions cli/cmd/list/list_dirs.go

This file was deleted.

47 changes: 0 additions & 47 deletions cli/cmd/list/list_files.go

This file was deleted.

82 changes: 0 additions & 82 deletions cli/cmd/list/list_targets.go

This file was deleted.

44 changes: 0 additions & 44 deletions cli/cmd/logs.go

This file was deleted.

28 changes: 0 additions & 28 deletions cli/cmd/root.go

This file was deleted.

16 changes: 0 additions & 16 deletions cli/cmd/task/task.go

This file was deleted.

26 changes: 0 additions & 26 deletions cli/cmd/task/task_deleteByAge.go

This file was deleted.

Loading

0 comments on commit 22ff207

Please sign in to comment.