Skip to content

Bump actions/checkout from 5 to 6 #288

Bump actions/checkout from 5 to 6

Bump actions/checkout from 5 to 6 #288

Workflow file for this run

name: pull_request
on:
workflow_dispatch:
pull_request:
branches:
- master
paths:
- src/**
- .github/**
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
dotnet-version: [ '10.0' ]
steps:
- uses: actions/checkout@v6
- name: Setup .NET Core SDK ${{ matrix.dotnet-version }}
uses: actions/setup-dotnet@v5
with:
dotnet-version: ${{ matrix.dotnet-version }}
include-prerelease: true
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Test
run: dotnet test --no-restore --verbosity normal
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Push to Docker Hub
uses: docker/build-push-action@v6
with:
push: true
tags: futugyousuzu/ddddemo_project:latest
context: ./src
file: ./src/WebApiHost/Dockerfile