Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies, Go version, and actions versions #8

Merged
merged 4 commits into from
Jul 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 7 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,18 @@ jobs:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.17
uses: actions/setup-go@v1
- name: Set up Go 1.22
uses: actions/setup-go@v5
with:
go-version: 1.17
id: go
- uses: dominikh/[email protected]
with:
version: "2022.1"
go-version: 1.22
- name: Check out code into the Go module directory
uses: actions/checkout@v1
uses: actions/checkout@v4
- name: Lint, test and build
run: |

# Install staticcheck for linting
go install honnef.co/go/tools/cmd/[email protected]

# Lint and format
make lint
make format
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
### Added
- New `--bind` option which allows you to specify what address to bind to, defaults to `0.0.0.0`.
### Changed
- Updated to Go version `1.22`.

## [v1.1.1] - 2023-12-04
### Fixed
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ the other projects that solved it better and which could serve as inspiration.

Developing this project requires these dependencies:

* [Go](https://golang.org/doc/install) >= `1.17`
* [Static Check](https://github.com/dominikh/go-tools) == `2022.1 (v0.3.0)`
* [Go](https://golang.org/doc/install) >= `1.22`
* [Static Check](https://github.com/dominikh/go-tools) == `2023.1 (v0.4.0)`

### Commands

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module github.com/jthomperoo/simple-proxy

go 1.17
go 1.22

require github.com/golang/glog v1.0.0
Loading