chore(deps): update module github.com/richardlehane/mscfb to v1.0.5 #192
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: Go | |
| on: # yamllint disable-line rule:truthy | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main, 'release-*'] | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v4 | |
| - name: Setup libvirt | |
| run: | | |
| sudo apt update | |
| sudo apt install libvirt-dev | |
| - name: Run golangci-lint | |
| run: make lint | |
| check-generate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v4 | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| - name: Check generated files are up to date | |
| run: | | |
| make check-generate | |
| # The Makefile only checks for uncommitted changes, allowing users to keep untracked files in the repository. | |
| # Here, we also check for untracked files, as none are expected at this stage. | |
| if [[ $(git ls-files --others --exclude-standard) ]]; then git ls-files --others --exclude-standard; echo "These files are not tracked by git"; exit 1; fi | |
| check-format: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v4 | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| - name: Check that formatting does not introduce changes | |
| run: make check-format | |
| unit-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v4 | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| - name: Setup libvirt | |
| run: | | |
| sudo apt update | |
| sudo apt install libvirt-dev | |
| - name: Setup Podman | |
| run: | | |
| sudo apt update | |
| sudo apt install -y podman podman-compose | |
| - name: Run the tests | |
| run: make unit-test |