Skip to content

Commit

Permalink
Merge branch 'master' into add-race-flag
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikPelli authored Jan 7, 2025
2 parents a4c72df + fec371b commit 101c025
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 18 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ jobs:
name: Build And Test Go code
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v4

- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.20'

- name: Check out code into the Go module directory
uses: actions/checkout@v4
go-version-file: go.mod

# https://stackoverflow.com/questions/76269119/github-actions-go-lambda-project-different-sha256sums
- name: Build
Expand All @@ -31,7 +31,9 @@ jobs:
# Make sure to detect eventual race conditions
# (CGO must be enabled to use -race detector)
- name: Test
run: go test -race -p 1 -v -shuffle=on ./...
# -count=2 ensures that test fixtures cleanup after themselves
# because any leftover state will generally cause the second run to fail.
run: go test -race -p 1 -v -shuffle=on -count=2 ./...

- name: Linter
uses: golangci/golangci-lint-action@v6
Expand Down
1 change: 0 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
run:
timeout: 5m
modules-download-mode: readonly
go: '1.20'

# List from https://golangci-lint.run/usage/linters/
linters:
Expand Down
12 changes: 0 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,18 +88,6 @@ aren't sure about it).
Make sure to include the bin folder in the path of your shell, to be able to
directly use the `golangci-lint run` command.

## Versioning
With GitHub, there are 2 version types: release versions (such as `v1.x`)
and Go branch default versions (such as `v0.0.0-202412xxx`).
The latter is `automatically` assigned by Go modules command if the
master branch contains new commits that aren't present in the last
GitHub release.

We plan to `periodically` publish stable releases (v1.x), after a while that
no one reports issues with the fixes merged in the master branch.
You can `safely use both` version types, since we carefully review
all the pull requests before merging them.

## A taste of GoProxy

To get a taste of `goproxy`, here you are a basic HTTP/HTTPS proxy
Expand Down

0 comments on commit 101c025

Please sign in to comment.