gha: Use go 1.18 to build examples
@@ -244,6 +244,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
+ - name: Setup go
+ uses: actions/setup-go@v3
+ with:
+ go-version: 1.18.3
+ cache: true
- name: Build example binaries
run: |
for dir in $(dirname $(find examples/gadgets -name README.md)); do
