Skip to content

Commit

Permalink
add test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
hicksjacobp committed Apr 26, 2024
1 parent defc64b commit 34bf8a1
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: "Test for actions/[email protected]"

on:
workflow_dispatch:

jobs:
test1:
name: "ubuntu-latest + actions/[email protected]"
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
sparse-checkout-cone-mode: true
fetch-depth: 1
fetch-tags: false
- name: "Print .git/config"
run: cat .git/config
- name: "dotnet build"
run: dotnet build
test2:
name: "actions/runner:2.316.0 + actions/[email protected]"
runs-on: ubuntu-latest
container: ghcr.io/actions/actions-runner:2.316.0
steps:
- uses: actions/[email protected]
with:
sparse-checkout-cone-mode: true
fetch-depth: 1
fetch-tags: false
- name: "Print .git/config"
run: cat .git/config
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.204'
- name: "dotnet build"
run: dotnet build
test3:
name: "actions/runner:2.316.0 + actions/[email protected]"
runs-on: ubuntu-latest
container: ghcr.io/actions/actions-runner:2.316.0
steps:
- uses: actions/[email protected]
with:
sparse-checkout-cone-mode: true
fetch-depth: 1
fetch-tags: false
- name: "Print .git/config"
run: cat .git/config
- uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.204'
- name: "dotnet build"
run: dotnet build

0 comments on commit 34bf8a1

Please sign in to comment.