1
1
mirror of https://github.com/walles/moar.git synced 2024-08-17 07:50:35 +03:00

Try improving repeated-builds performance

This commit is contained in:
Johan Walles 2022-12-19 10:14:41 +01:00
parent f8e226bbe9
commit 4c1e8c742e
2 changed files with 7 additions and 4 deletions

View File

@ -16,11 +16,10 @@ jobs:
- name: Install golangci-lint
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b "$(go env GOPATH)"/bin v1.50.1
# Source: https://www.scivision.dev/github-actions-path-append/
#
# Required for the golangci-lint that we just installed to work.
# Required for the golangci-lint that we just installed to work. Also
# gives us some caching.
- name: Add GOPATH/bin to PATH
run: echo "$(go env GOPATH)/bin" >> "$GITHUB_PATH"
uses: actions/setup-go@v3
- name: Check out repository code
uses: actions/checkout@v2

View File

@ -11,5 +11,9 @@ jobs:
steps:
- name: Check out repository code
uses: actions/checkout@v2
# Add some caching, should help for PRs with multiple pushes.
- uses: actions/setup-go@v3
- run: go build
- run: go test -timeout 30s ./...