Skip to content

Bump rojopolis/spellcheck-github-actions from 0.42.0 to 0.43.0 #328

Bump rojopolis/spellcheck-github-actions from 0.42.0 to 0.43.0

Bump rojopolis/spellcheck-github-actions from 0.42.0 to 0.43.0 #328

name: Build and Test OpenYurt Deployer
on:
push:
branches: [ main, legacy-firecracker-v0.24.0-with-upf-support ]
paths-ignore:
- 'docs/**'
- '**.md'
pull_request:
branches: [ main, legacy-firecracker-v0.24.0-with-upf-support ]
paths-ignore:
- 'docs/**'
- '**.md'
workflow_dispatch:
env:
GOOS: linux
GO111MODULE: on
jobs:
openyurt-unit-test:
runs-on: ubuntu-latest
steps:
- name: Check out the code
uses: actions/checkout@v4
- name: Set up Go version in go.mod file
uses: actions/setup-go@v5
with:
go-version-file: ${{ github.workspace }}/go.mod
cache-dependency-path: |
**/go.sum
**/go.mod
- name: Build scripts
run:
pushd scripts/openyurt-deployer && go build -o oy_deploy && popd
- name: Run Unit Test on OpenYurt helper function
run: |
cd scripts/openyurt-deployer
chmod +x unit_test_workflow.sh
./unit_test_workflow.sh