Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Power Method #133

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 13 additions & 4 deletions .github/workflows/run-app.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
name: 'Basic Action'
name: 'Run App Noah Whyrick'

on: [push]
on: [push, pull_request]

jobs:
check-bats-version:
runs-on: ubuntu-latest
steps:
- name: Basic Action
run: echo "Hello, World!"
- uses: actions/checkout@v2
- uses: actions/setup-dotnet@v1
with:
dotnet-version: '5.0.301'
- uses: nuget/setup-nuget@v1
- name: Nuget Restore
run: nuget restore GithubActions.sln
- name: Install dependencies
run: dotnet restore GithubActions.sln
- name: Build
run: msbuild /p:Configuration=Release GithubActions.sln
2 changes: 1 addition & 1 deletion Console/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public static double Divide(string x, string y)
// Implement this method following a similar pattern as above
public static double Power(string x, string y)
{
throw new NotImplementedException();
return Math.Pow(double.Parse(x), double.Parse(y));
}
}

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Run App](https://github.com/kgerot/GithubActions/actions/workflows/run-app.yaml/badge.svg)](https://github.com/kgerot/GithubActions/actions/workflows/run-app.yaml)
[![Run App Noah Whyrick](https://github.com/nowhyrick/GithubActions/actions/workflows/run-app.yaml/badge.svg)](https://github.com/nowhyrick/GithubActions/actions/workflows/run-app.yaml)

# Do not submit a pull request to `kgerot/GithubActions` or `dteske/TraviCI`. Not following this instruction can ruin the lab for others, so pay attention.

Expand Down