Skip to content

Commit

Permalink
fix: add go build cache
Browse files Browse the repository at this point in the history
  • Loading branch information
sakateka committed Feb 11, 2025
1 parent caa0433 commit 16da96b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,28 @@ jobs:
with:
packages: meson clang python3-pyelftools libnuma-dev libpcap-dev git
version: 1.1

- uses: actions/checkout@v4
with:
submodules: true

- uses: hendrikmuhs/[email protected]
name: ccache
with:
key: ${{ runner.os }}-build-cache
- run: |
meson setup build -Dbuildtype=debug
meson compile -C build
- uses: actions/setup-go@v5
with:
go-version: '1.23.x'
check-latest: true
cache-dependency-path: |
tests/go/go.sum
- run:
meson test -C build

- uses: cpp-linter/cpp-linter-action@main
id: linter
continue-on-error: true
Expand Down

0 comments on commit 16da96b

Please sign in to comment.