Skip to content

Commit

Permalink
feature: Add initial github actions script
Browse files Browse the repository at this point in the history
  • Loading branch information
glennawatson committed Jun 28, 2022
1 parent d4c618b commit 258802c
Show file tree
Hide file tree
Showing 8 changed files with 107 additions and 178 deletions.
13 changes: 13 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
version: 2
updates:
- package-ecosystem: nuget
directory: "/src"
schedule:
interval: monthly
time: "00:00"
open-pull-requests-limit: 10
- package-ecosystem: "github-actions"
directory: "/"
schedule:
# Check for updates to GitHub Actions every weekday
interval: "monthly"
22 changes: 22 additions & 0 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Build

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

env:
productNamespacePrefix: "ReactiveMvvm"

jobs:
build:
uses: reactiveui/actions-common/.github/workflows/workflow-common-setup-and-build.yml@main
with:
configuration: Release
productNamespacePrefix: "ReactiveMvvm"
useVisualStudioPreview: false
useMauiCheckDotNetTool: false
installWindowsSdk: false
installWorkflows: false
solutionFile: 'ReactiveMvvm.sln'
31 changes: 31 additions & 0 deletions .github/workflows/lock.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: 'Lock Threads'

on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:

permissions:
issues: write
pull-requests: write

concurrency:
group: lock

jobs:
action:
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v3
with:
github-token: ${{ github.token }}
issue-inactive-days: '14'
pr-inactive-days: '14'
issue-comment: >
This issue has been automatically locked since there
has not been any recent activity after it was closed.
Please open a new issue for related bugs.
pr-comment: >
This pull request has been automatically locked since there
has not been any recent activity after it was closed.
Please open a new issue for related bugs.
55 changes: 41 additions & 14 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,11 @@
##
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore

# Visual Studio Code
.vscode/*

# User-specific files
*.suo
*.user
*.userosscache
*.sln.docstates
*.xsd

# User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs
Expand All @@ -27,14 +23,15 @@ bld/
[Bb]in/
[Oo]bj/
[Ll]og/
wwwroot/


# Visual Studio 2015 cache/options directory
# Visual Studio 2015/2017 cache/options directory
.vs/
# Uncomment if you have tasks that create the project's static files in wwwroot
#wwwroot/

# Visual Studio 2017 auto generated files
Generated\ Files/

# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*
Expand All @@ -57,14 +54,20 @@ project.fragment.lock.json
artifacts/
**/Properties/launchSettings.json

# StyleCop
StyleCopReport.xml

# Files built by Visual Studio
*_i.c
*_p.c
*_i.h
*.ilk
*.meta
*.obj
*.iobj
*.pch
*.pdb
*.ipdb
*.pgc
*.pgd
*.rsp
Expand Down Expand Up @@ -102,6 +105,9 @@ ipch/
*.vspx
*.sap

# Visual Studio Trace Files
*.e2e

# TFS 2012 Local Workspace
$tf/

Expand Down Expand Up @@ -174,11 +180,11 @@ PublishScripts/
# NuGet Packages
*.nupkg
# The packages folder can be ignored because of Package Restore
**/packages/*
**/[Pp]ackages/*
# except build/, which is used as an MSBuild target.
!**/packages/build/
!**/[Pp]ackages/build/
# Uncomment if necessary however generally it will be regenerated when needed
#!**/packages/repositories.config
#!**/[Pp]ackages/repositories.config
# NuGet v3's project.json files produces more ignorable files
*.nuget.props
*.nuget.targets
Expand Down Expand Up @@ -215,6 +221,10 @@ ClientBin/
*.publishsettings
orleans.codegen.cs

# Including strong name files can present a security risk
# (https://github.com/github/gitignore/pull/2483#issue-259490424)
#*.snk

# Since there are multiple workflows, uncomment next line to ignore bower_components
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
#bower_components/
Expand All @@ -229,6 +239,8 @@ _UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm
ServiceFabricBackup/
*.rptproj.bak

# SQL Server files
*.mdf
Expand All @@ -239,6 +251,7 @@ UpgradeLog*.htm
*.rdl.data
*.bim.layout
*.bim_*.settings
*.rptproj.rsuser

# Microsoft Fakes
FakesAssemblies/
Expand All @@ -250,9 +263,6 @@ FakesAssemblies/
.ntvs_analysis.dat
node_modules/

# Typescript v1 declaration files
typings/

# Visual Studio 6 build log
*.plg

Expand Down Expand Up @@ -303,4 +313,21 @@ __pycache__/
*.btm.cs
*.odx.cs
*.xsd.cs
ReactiveMvvm.Wpf/Properties/Resources.Designer.cs

# OpenCover UI analysis results
OpenCover/

# Azure Stream Analytics local run output
ASALocalRun/

# MSBuild Binary and Structured Log
*.binlog

# NVidia Nsight GPU debugger configuration file
*.nvuser

# MFractors (Xamarin productivity tool) working folder
.mfractor/

# Fody files
*.xsd
Empty file removed .nuke
Empty file.
34 changes: 0 additions & 34 deletions azure-pipelines.yml

This file was deleted.

68 changes: 0 additions & 68 deletions build.ps1

This file was deleted.

62 changes: 0 additions & 62 deletions build.sh

This file was deleted.

0 comments on commit 258802c

Please sign in to comment.