Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 5eeb2e0

Browse files
Update main.yml
1 parent 04a6706 commit 5eeb2e0

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

‎.github/workflows/main.yml‎

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: CI
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- uses: actions/checkout@v1
12+
- name: Add dotnet package repository
13+
run: |
14+
echo Adding dotnet package repository
15+
wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
16+
sudo dpkg -i packages-microsoft-prod.deb
17+
- name: Install dotnet runtime
18+
run: |
19+
sudo add-apt-repository universe
20+
sudo apt-get install apt-transport-https
21+
sudo apt-get update
22+
sudo apt-get install dotnet-sdk-2.2
23+
- name: Restore dependencies
24+
run: dotnet restore
25+
- name: Run tests
26+
run: dotnet test

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /