Skip to content

disable autogeneration of github actions #2

disable autogeneration of github actions

disable autogeneration of github actions #2

# ------------------------------------------------------------------------------
# <auto-generated>
#
# This code was generated.
#
# - To turn off auto-generation set:
#
# [GitHubActions (AutoGenerate = false)]
#
# - To trigger manual generation invoke:
#
# nuke --generate-configuration GitHubActions_Build_and_test --host GitHubActions
#
# </auto-generated>
# ------------------------------------------------------------------------------
name: Build_and_test
on:
push:
branches:
- master
- 'feature/*'
paths:
- '**/*'
- '!**.md'
jobs:
ubuntu-22_04:
name: ubuntu-22_04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- name: Cache npm packages
id: cache-npm
uses: actions/cache@v3
with:
path: |
**/node_modules
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json', '.nvmrc') }}
- name: Cache nuget packages
id: cache-nuget
uses: actions/cache@v3
with:
path: |
.nuke/temp
~/.nuget/packages
**/obj/*
key: ${{ runner.os }}-nuget_obj-${{ hashFiles('**/global.json', '**/*.csproj', '**/Directory.Build.props') }}
- name: 'Run: Test, VerifyStyle'
run: ./build.cmd Test VerifyStyle