Skip to content

chore(deps): bump ollama/ollama from 0.22.0 to 0.24.0 #1270

chore(deps): bump ollama/ollama from 0.22.0 to 0.24.0

chore(deps): bump ollama/ollama from 0.22.0 to 0.24.0 #1270

Workflow file for this run

---
name: CI
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
branches:
- main
permissions: write-all
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
build:
strategy:
matrix:
# os: [macos-latest, windows-latest, ubuntu-latest]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
needs: check
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Cache local Maven repository
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Set up QEMU
if: ${{ matrix.os != 'windows-latest' }}
uses: docker/setup-qemu-action@ce360397dd3f832beb865e1373c09c0e9f86d70a # v4.0.0
- name: Set up Docker Buildx
if: ${{ matrix.os != 'windows-latest' }}
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0
- name: Set up GraalVM 25
uses: graalvm/setup-graalvm@60c26726de13f8b90771df4bc1641a52a3159994 # v1.5.2
with:
distribution: graalvm-community
java-version: "25"
github-token: ${{ secrets.GITHUB_TOKEN }}
native-image-job-reports: "true"
- name: Build and Test
run: |
mvn -ntp verify
mvn package -DskipTests -Pdocker
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Test Reporter
uses: dorny/test-reporter@a43b3a5f7366b97d083190328d2c652e1a8b6aa2 # v3.0.0
if: success() || failure()
with:
name: Test Report - ${{ matrix.os }}
path: "**/surefire-reports/TEST*.xml"
list-suites: failed
list-tests: failed
reporter: java-junit
- name: Upload binary
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: exercises-${{ matrix.os }}-${{ runner.arch }}
path: ./target/linklift
- name: Scan Image
uses: anchore/scan-action@e1165082ffb1fe366ebaf02d8526e7c4989ea9d2 # v7.4.0
id: scan
with:
fail-build: false
image: robfrank/linklift:latest
output-format: sarif
severity-cutoff: critical
- name: Upload SARIF Files
uses: github/codeql-action/upload-sarif@95e58e9a2cdfd71adc6e0353d5c52f41a045d225 # v4.35.2
with:
sarif_file: ${{ steps.scan.outputs.sarif }}
- name: Get coverage files
id: coverage-files-generator
if: ${{ github.actor != 'dependabot[bot]' && runner.os == 'Linux' }}
run: echo "COVERAGE_FILES=$(find . -path **/jacoco*.xml -printf '%p,')" >> "$GITHUB_OUTPUT"
- name: Codacy coverage reporter
if: ${{ github.actor != 'dependabot[bot]' && runner.os == 'Linux' }}
uses: codacy/codacy-coverage-reporter-action@89d6c85cfafaec52c72b6c5e8b2878d33104c699 # v1.3.0
with:
language: java
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
coverage-reports: ${{ steps.coverage-files-generator.outputs.COVERAGE_FILES }}