Skip to content

Commit

Permalink
bump tools version (#10)
Browse files Browse the repository at this point in the history
Signed-off-by: Clavin June <[email protected]>
  • Loading branch information
clavinjune authored Apr 15, 2022
1 parent 22cc99a commit 3faaf92
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 12 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ LICENSE
Makefile
tools.mk

.idea/
.git/
out/
dist/
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:

- uses: actions/setup-go@v2
with:
go-version: 1.17.6
go-version: 1.18.1

- uses: actions/cache@v2
with:
Expand All @@ -40,7 +40,7 @@ jobs:
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: check
if: github.event_name == 'pull_request'
run: make check
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@

# Dependency directories (remove the comment below to include it)
# vendor/
.idea/
dist/
out/
src/
Expand Down
2 changes: 2 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
# limitations under the License.

run:
# https://github.com/golangci/golangci-lint/issues/2649
go: '1.17'
# timeout for analysis, e.g. 30s, 5m, default is 1m
deadline: 5m

Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,37 +26,37 @@ A Lightweight HTTP Server Built on Top of Go
# chmod +x serve_{version}_{os}_{arch}
$ chmod +x serve_0.3.8_linux_amd64
$ ./serve_0.3.8_linux_amd64 -v
serve v0.3.8
serve v0.3.9
```

### Via Go Install

```bash
$ go install github.com/ClavinJune/serve@latest
go: downloading github.com/ClavinJune/serve v0.3.8
go: downloading github.com/ClavinJune/serve v0.3.9
$ serve -v
serve v0.3.8
serve v0.3.9
```

### Via Go Run

```bash
$ go run github.com/ClavinJune/serve@latest -v
serve v0.3.8
serve v0.3.9
```

### Via Docker

```bash
$ docker run -it --rm ghcr.io/clavinjune/serve:latest -v
serve v0.3.8
serve v0.3.9
```

### Via Podman

```bash
$ podman run -it --rm ghcr.io/clavinjune/serve:latest -v
serve v0.3.8
serve v0.3.9
```

## Usage
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/ClavinJune/serve

go 1.17
go 1.18
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import (
)

const (
version string = "v0.3.8"
version string = "v0.3.9"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions tools.mk
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
# limitations under the License.

licenser := github.com/liamawhite/[email protected]
linter := github.com/golangci/golangci-lint/cmd/golangci-lint@v1.43.0
releaser := github.com/goreleaser/goreleaser@v1.3.1
linter := github.com/golangci/golangci-lint/cmd/golangci-lint@v1.45.2
releaser := github.com/goreleaser/goreleaser@v1.7.0

0 comments on commit 3faaf92

Please sign in to comment.