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

added makefile, github-actions and updated go version #241

Merged
merged 7 commits into from
Jul 30, 2023

Conversation

bharat-rajani
Copy link
Contributor

What type of PR is this?

  • Refactor
  • Optimization

Description

This PR aims to

  • update go version to 1.20
  • introduce make file
  • configure golangci lint
  • introduce github actions/workflows

Added/updated tests?

  • Yes

Run verification and test

  • make verify is passing
  • make test is passing

.gitignore Outdated Show resolved Hide resolved
.golangci.yaml Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
go.mod Outdated Show resolved Hide resolved
handlers_go18_test.go Outdated Show resolved Hide resolved
compress.go Show resolved Hide resolved
compress.go Show resolved Hide resolved
compress_test.go Outdated Show resolved Hide resolved
@coreydaley coreydaley enabled auto-merge (squash) July 30, 2023 01:40
@coreydaley coreydaley self-requested a review July 30, 2023 01:40
@codecov
Copy link

codecov bot commented Jul 30, 2023

Codecov Report

❗ No coverage uploaded for pull request base (main@f1799b8). Click here to learn what that means.
The diff coverage is n/a.

❗ Current head a1f48ab differs from pull request most recent head ab1e3c1. Consider uploading reports for the commit ab1e3c1 to get more accurate results

@@           Coverage Diff           @@
##             main     #241   +/-   ##
=======================================
  Coverage        ?   84.44%           
=======================================
  Files           ?        7           
  Lines           ?      598           
  Branches        ?        0           
=======================================
  Hits            ?      505           
  Misses          ?       82           
  Partials        ?       11           

README.md Outdated Show resolved Hide resolved
auto-merge was automatically disabled July 30, 2023 06:32

Head branch was pushed to by a user without write access

@coreydaley coreydaley merged commit 0eda2fc into gorilla:main Jul 30, 2023
7 checks passed
coreydaley pushed a commit that referenced this pull request Aug 16, 2023
<!--
For Work In Progress Pull Requests, please use the Draft PR feature,
see https://github.blog/2019-02-14-introducing-draft-pull-requests/ for
further details.

     For a timely review/response, please avoid force-pushing additional
     commits if your PR already received reviews or comments.

     Before submitting a Pull Request, please ensure that you have:
- 📖 Read the Contributing guide:
https://github.com/gorilla/.github/blob/main/CONTRIBUTING.md
- 📖 Read the Code of Conduct:
https://github.com/gorilla/.github/blob/main/CODE_OF_CONDUCT.md

     - Provide tests for your changes.
     - Use descriptive commit messages.
	 - Comment your code where appropriate.
	 - Squash your commits
     - Update any related documentation.

     - Add gorilla/pull-request-reviewers as a Reviewer
-->

## What type of PR is this? (check all applicable)

- [x] Refactor
- [ ] Feature
- [ ] Bug Fix
- [ ] Optimization
- [ ] Documentation Update

## Description

A previous commit (#241) replaced most HTTP constants with those from
standard library `net/http`, but some was missed. This PR catches 3 of
them.

## Related Tickets & Documents

<!--
For pull requests that relate or close an issue, please include them
below. We like to follow [Github's guidance on linking issues to pull
requests](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue).

For example having the text: "closes #1234" would connect the current
pull
request to issue 1234.  And when we merge the pull request, Github will
automatically close the issue.
-->

- Related Issue: None
- Closes: None

## Added/updated tests?

- [ ] Yes
- [x] No, and this is why: Trivial changes, tests not required
- [ ] I need help with writing tests

## Run verifications and test

- [ ] `make verify` is passing (which I believe is not my fault)
- [x] `make test` is passing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants