Skip to content

Commit

Permalink
Release v1.1.0 (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
alessio authored Dec 29, 2023
1 parent 4bc6bb3 commit a644233
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 165 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,17 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true
- uses: actions/setup-go@v4
with:
go-version: '>1.18'
go-version: '1.21'
- run: go version
- run: make build
- run: go test -race -cover -covermode=atomic -coverprofile=coverage.out ./...
- run: ./build/pathctl -version
- uses: codecov/codecov-action@v3
with:
file: ./coverage.out
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: '1.20'
go-version: '1.21'
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,15 @@ jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true
- run: git fetch --force --tags
- uses: actions/setup-go@v4
with:
go-version: stable
- uses: goreleaser/goreleaser-action@v4
- uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: latest
Expand Down
33 changes: 15 additions & 18 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ gomod:
mod: readonly

builds:
- main: ./cmd/addpath
id: "addpath"
binary: addpath
- main: ./cmd/elvoke
id: "elvoke"
binary: elvoke
env:
- CGO_ENABLED=0
goos:
Expand All @@ -25,9 +25,9 @@ builds:
- openbsd
- freebsd

- main: ./cmd/delpath
id: "delpath"
binary: delpath
- main: ./cmd/mcd
id: "mcd"
binary: mcd
env:
- CGO_ENABLED=0
goos:
Expand All @@ -36,9 +36,9 @@ builds:
- openbsd
- freebsd

- main: ./cmd/elvoke
id: "elvoke"
binary: elvoke
- main: ./cmd/pathctl
id: "pathctl"
binary: pathctl
env:
- CGO_ENABLED=0
goos:
Expand All @@ -47,9 +47,9 @@ builds:
- openbsd
- freebsd

- main: ./cmd/mcd
id: "mcd"
binary: mcd
- main: ./cmd/popbak
id: "popbak"
binary: popbak
env:
- CGO_ENABLED=0
goos:
Expand All @@ -58,16 +58,13 @@ builds:
- openbsd
- freebsd

- main: ./cmd/popbak
id: "popbak"
binary: popbak
- main: ./cmd/portup
id: "portup"
binary: portup
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- openbsd
- freebsd

- main: ./cmd/pushbak
id: "pushbak"
Expand Down
80 changes: 0 additions & 80 deletions deprecated/addpath/main.go

This file was deleted.

61 changes: 0 additions & 61 deletions deprecated/delpath/main.go

This file was deleted.

0 comments on commit a644233

Please sign in to comment.