chore(deps): bump golang.org/x/image from 0.38.0 to 0.41.0 (#140) #339
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: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install dependencies for chromedp | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y \ | |
| google-chrome-stable \ | |
| libnss3 \ | |
| libnspr4 \ | |
| libatk1.0-0 \ | |
| libatk-bridge2.0-0 \ | |
| libcups2 \ | |
| libdrm2 \ | |
| libxkbcommon0 \ | |
| libxcomposite1 \ | |
| libxdamage1 \ | |
| libxfixes3 \ | |
| libxrandr2 \ | |
| libgbm1 \ | |
| libasound2t64 \ | |
| libpango-1.0-0 \ | |
| libcairo2 \ | |
| libxshmfence1 \ | |
| libglu1-mesa | |
| - name: Configure Chrome for chromedp | |
| run: echo "CHROME_BIN=/usr/bin/google-chrome-stable" >> "$GITHUB_ENV" | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version-file: 'go.mod' | |
| - name: Start containers (PostgreSQL, MongoDB, Redis) | |
| run: | | |
| make test-services-clean | |
| make test-services-up | |
| make test-services-wait | |
| - name: Build | |
| run: make ENV_FILE=.env.test.pg build | |
| - name: Build plugin | |
| run: make ENV_FILE=.env.test.pg plugin | |
| - name: Test (PostgreSQL data store) | |
| run: make ENV_FILE=.env.test.pg test-core | |
| - name: Clear all cache keys | |
| run: make test-cache-flush | |
| - name: Test (Mongo data store) | |
| run: make ENV_FILE=.env.test.mongo test-core | |
| - name: Test all DBs implementation | |
| run: make ENV_FILE=.env.test.pg test-dbs | |
| - name: Test all other components | |
| run: make ENV_FILE=.env.test.pg test-components | |
| - name: Stop containers | |
| if: always() | |
| run: make test-services-clean |