CA-426556: register VM.set_NVRAM_EFI_variables_v2 on the main XAPI dispatcher #9971
Workflow file for this run
This file contains hidden or 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
| name: Check format | |
| permissions: {} | |
| on: | |
| pull_request: | |
| branches: | |
| - master | |
| - 'feature/**' | |
| - '*-lcm' | |
| merge_group: | |
| jobs: | |
| ocaml-format: | |
| name: Ocaml files | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| persist-credentials: false | |
| - name: Pull configuration from xs-opam | |
| run: | | |
| curl --fail --silent https://raw.githubusercontent.com/xapi-project/xs-opam/master/tools/xs-opam-ci.env | cut -f2 -d " " > .env | |
| - name: Load environment file | |
| id: dotenv | |
| uses: falti/dotenv-action@v1 | |
| - name: Update Ubuntu repositories | |
| run: sudo apt-get update | |
| - name: Use ocaml | |
| uses: ocaml/setup-ocaml@v3 | |
| with: | |
| ocaml-compiler: ${{ steps.dotenv.outputs.ocaml_version_full }} | |
| opam-repositories: | | |
| xs-opam: ${{ steps.dotenv.outputs.repository }} | |
| dune-cache: true | |
| opam-pin: false | |
| - name: Install ocamlformat | |
| run: opam install ocamlformat | |
| - name: Check whether `make format` was run | |
| run: opam exec -- dune build @fmt |