chore(deps): update to latest version of KW GH actions #28
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [push, pull_request] | |
name: Continuous integration | |
jobs: | |
test: | |
name: run tests and linters | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install dependencies | |
uses: kubewarden/github-actions/[email protected] | |
- uses: actions/checkout@v4 | |
with: | |
# until https://github.com/actions/checkout/pull/579 is released | |
fetch-depth: 0 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: "1.21.1" | |
- name: Install wasm-opt | |
run: | | |
wget https://github.com/WebAssembly/binaryen/releases/download/version_116/binaryen-version_116-x86_64-linux.tar.gz | |
tar -xzf binaryen-version_116-x86_64-linux.tar.gz | |
sudo mv binaryen-version_116/bin/wasm-opt /usr/local/bin | |
- name: Build | |
run: | | |
make policy.wasm | |
- name: Annotate | |
run: | | |
make annotated-policy.wasm | |
- name: Run e2e tests | |
run: | | |
make e2e-tests |