build(deps): bump modernc.org/sqlite from 1.44.3 to 1.50.0 #588
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: CI | |
| on: | |
| pull_request: | |
| permissions: | |
| contents: read | |
| packages: read | |
| jobs: | |
| lint: | |
| name: Run golint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Run golangci-lint | |
| uses: golangci/golangci-lint-action@v9 | |
| with: | |
| version: v2.4.0 | |
| unit-test: | |
| name: Unit tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - run: make test | |
| e2e-test-granular: | |
| name: End-to-end tests using granular commands | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - run: git config --global --add safe.directory /__w/fioup/fioup | |
| - run: ./dev-shell.sh make build test-e2e-granular | |
| env: | |
| FACTORY: ${{ secrets.E2E_TEST_FACTORY }} | |
| BASE_TARGET_VERSION: ${{ secrets.E2E_TEST_BASE_TARGET_VERSION }} | |
| USER_TOKEN: ${{ secrets.E2E_TEST_USER_TOKEN }} | |
| TAG: ${{secrets.E2E_TEST_TAG}} | |
| e2e-test-single-command: | |
| name: End-to-end tests using single update command | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - run: git config --global --add safe.directory /__w/fioup/fioup | |
| - run: ./dev-shell.sh make build test-e2e-single-command | |
| env: | |
| FACTORY: ${{ secrets.E2E_TEST_FACTORY }} | |
| BASE_TARGET_VERSION: ${{ secrets.E2E_TEST_BASE_TARGET_VERSION }} | |
| USER_TOKEN: ${{ secrets.E2E_TEST_USER_TOKEN }} | |
| TAG: ${{secrets.E2E_TEST_TAG}} | |
| e2e-test-daemon: | |
| name: End-to-end tests using daemon | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - run: git config --global --add safe.directory /__w/fioup/fioup | |
| - run: ./dev-shell.sh make build test-e2e-daemon | |
| env: | |
| FACTORY: ${{ secrets.E2E_TEST_FACTORY }} | |
| BASE_TARGET_VERSION: ${{ secrets.E2E_TEST_BASE_TARGET_VERSION }} | |
| USER_TOKEN: ${{ secrets.E2E_TEST_USER_TOKEN }} | |
| TAG: ${{secrets.E2E_TEST_TAG}} | |
| integration-test: | |
| name: Standalone integration tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - run: git config --global --add safe.directory /__w/fioup/fioup | |
| - run: ./dev-shell.sh make test-integration | |
| package: | |
| strategy: | |
| fail-fast: true | |
| matrix: | |
| os: | |
| - ubuntu-24.04 | |
| - ubuntu-24.04-arm | |
| runs-on: ${{matrix.os}} | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Login to GHCR | |
| uses: docker/login-action@v4 | |
| with: | |
| registry: ghcr.io | |
| username: ${{ github.actor }} | |
| password: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Build and check a deb package | |
| run: | | |
| make deb DEBS_DIR=/tmp/debs | |
| # Check installation on Debian | |
| docker run --rm -i -v /tmp:/host-tmp debian:trixie <<EOF | |
| set -ex | |
| apt update && apt install -y lintian /host-tmp/debs/fioup_*.deb | |
| lintian /host-tmp/debs/fioup_*.deb | |
| test -x /usr/bin/fioup | |
| test -x /usr/bin/docker-credential-fioup | |
| test -f /usr/share/bash-completion/completions/fioup | |
| test -f /lib/systemd/system/fioup.service | |
| EOF | |
| # Check installation on Ubuntu | |
| docker run --rm -i -v /tmp:/host-tmp ubuntu:noble <<EOF | |
| set -ex | |
| apt update && apt install -y /host-tmp/debs/fioup_*.deb | |
| test -x /usr/bin/fioup | |
| test -x /usr/bin/docker-credential-fioup | |
| test -f /usr/share/bash-completion/completions/fioup | |
| test -f /lib/systemd/system/fioup.service | |
| EOF | |