mirror of
https://github.com/YuzuZensai/netbird-kubernetes-operator.git
synced 2026-09-13 10:49:15 +00:00
This change does some cleanup of the actions workflows to makes them faster to run and easier to debug. It pins all of the actions workflows to specific commit hashes. Dependabot will be enabled in a separate PR to manage updates. Signed-off-by: Philip Laine <philip.laine@gmail.com>
26 lines
757 B
YAML
26 lines
757 B
YAML
name: e2e
|
|
on:
|
|
pull_request:
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Clone the code
|
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd #v6.0.2
|
|
- name: Setup Go
|
|
uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 #v6.3.0
|
|
with:
|
|
go-version-file: go.mod
|
|
- name: Install the latest version of kind
|
|
run: |
|
|
curl -Lo ./kind https://kind.sigs.k8s.io/dl/latest/kind-linux-amd64
|
|
chmod +x ./kind
|
|
sudo mv ./kind /usr/local/bin/kind
|
|
- name: Verify kind installation
|
|
run: kind version
|
|
- name: Create kind cluster
|
|
run: kind create cluster
|
|
- name: Running e2e test
|
|
run: |
|
|
make test-e2e
|