Skip to content

Bump dependencies #1718

Bump dependencies

Bump dependencies #1718

Workflow file for this run

name: ci
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
env:
NUGET_PACKAGES: ${{ github.workspace }}/.nuget/packages
jobs:
build:
runs-on: ubuntu-latest
container: dockfool/cake-docker:latest
steps:
- name: Checkout source
uses: actions/checkout@v4.2.2
with:
fetch-depth: 0
filter: tree:0
show-progress: false
- name: Cache packages
uses: actions/cache@v4.1.2
with:
path: ${{ env.NUGET_PACKAGES }}
key: ${{ runner.os }}-nuget-${{ hashFiles('.config/dotnet-tools.json', '**/packages.lock.json') }}
restore-keys: ${{ runner.os }}-nuget-
- name: Docker login
if: github.event_name != 'pull_request'
uses: docker/login-action@v3.3.0
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: Setup buildx
uses: docker/setup-buildx-action@v3.7.1
- name: Export runtime
uses: crazy-max/ghaction-github-runtime@v3.0.0
- name: Cake build
run: dotnet tool restore && dotnet cake --verbosity=verbose --publish=true