Compare commits
No commits in common. "14c1336b54cf0c8fb7850dc8884049e52c08fe23" and "77b5c734b5e417050dfbbdf296f4aed2ed5f31c8" have entirely different histories.
14c1336b54
...
77b5c734b5
@ -3,7 +3,7 @@ on: [push]
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: go build
|
name: cargo build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@ -22,7 +22,7 @@ jobs:
|
|||||||
- run: go env -w CGO_ENABLED=1
|
- run: go env -w CGO_ENABLED=1
|
||||||
- env:
|
- env:
|
||||||
GOCACHE: ~/.cache/go-build
|
GOCACHE: ~/.cache/go-build
|
||||||
run: go build -o app ./cmd/app
|
run: RUN --mount=type=cache,target="~/.cache/go-build" go build -o app ./cmd/app
|
||||||
|
|
||||||
- name: Save cached build dependencies
|
- name: Save cached build dependencies
|
||||||
id: cache-project-dependencies-restore
|
id: cache-project-dependencies-restore
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user