mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 08:49:13 +00:00
build: make ci 2-3x faster (#859)
* Create scratch.Dockerfile * "best practices" * even faster? * too fast. change outdir * flip to 1.20.3 + v4 + setup go on docker * download deps * debug * Update ci.Dockerfile * Update goreleaser.Dockerfile * enable web caching * Update release.yml * Update ci.Dockerfile * revert goreleaser * cleanup * set GOCACHE * Update ci.Dockerfile * Delete scratch.Dockerfile
This commit is contained in:
parent
7f05dd1efd
commit
d546288c2a
3 changed files with 24 additions and 28 deletions
14
.github/workflows/release.yml
vendored
14
.github/workflows/release.yml
vendored
|
@ -59,9 +59,9 @@ jobs:
|
|||
|
||||
# 1.20 is the last version to support Windows < 10, Server < 2016, and MacOS < 1.15.
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v3
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: '1.20.1'
|
||||
go-version: '1.20.3'
|
||||
cache: true
|
||||
|
||||
- name: Test
|
||||
|
@ -86,9 +86,9 @@ jobs:
|
|||
|
||||
# 1.20 is the last version to support Windows < 10, Server < 2016, and MacOS < 1.15.
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v3
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: '1.20.1'
|
||||
go-version: '1.20.3'
|
||||
cache: true
|
||||
|
||||
- name: Run GoReleaser build
|
||||
|
@ -125,9 +125,9 @@ jobs:
|
|||
|
||||
# 1.20 is the last version to support Windows < 10, Server < 2016, and MacOS < 1.15.
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v3
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: '1.20.1'
|
||||
go-version: '1.20.3'
|
||||
cache: true
|
||||
|
||||
- name: Run GoReleaser build and publish tags
|
||||
|
@ -195,4 +195,4 @@ jobs:
|
|||
VERSION=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}
|
||||
REVISION=${{ github.event.pull_request.head.sha }}
|
||||
- name: Image digest
|
||||
run: echo ${{ steps.docker_build.outputs.digest }}
|
||||
run: echo ${{ steps.docker_build.outputs.digest }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue