Skip to content

Commit

Permalink
feat: adjust source code layout
Browse files Browse the repository at this point in the history
  • Loading branch information
JanDeDobbeleer committed Dec 25, 2020
1 parent ef51c9d commit ed2eac8
Show file tree
Hide file tree
Showing 74 changed files with 12 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/code.yml
Expand Up @@ -19,6 +19,9 @@ jobs:
- os: macos-latest
- os: windows-latest
runs-on: ${{ matrix.os }}
defaults:
run:
working-directory: ${{ github.workspace }}/src
steps:
- name: Install Go
uses: actions/setup-go@v2
Expand All @@ -34,5 +37,6 @@ jobs:
uses: golangci/golangci-lint-action@v2
with:
version: v1.31
working-directory: src
- name: Unit Tests
run: go test . -v
3 changes: 3 additions & 0 deletions .github/workflows/gomod.yml
Expand Up @@ -5,6 +5,9 @@ on: [pull_request]
jobs:
go-mod:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ${{ github.workspace }}/src
steps:
- name: Install Go
uses: actions/setup-go@v2
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Expand Up @@ -55,6 +55,9 @@ jobs:
- os: windows-latest
ARTIFACT: posh-windows-amd64.exe
runs-on: ${{ matrix.os }}
defaults:
run:
working-directory: ${{ github.workspace }}/src
outputs:
hash_linux: ${{ steps.hash.outputs.hash_ubuntu-latest }}
hash_macos: ${{ steps.hash.outputs.hash_macos-latest }}
Expand Down Expand Up @@ -89,7 +92,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ needs.release.outputs.upload_url }}
asset_path: ${{ matrix.ARTIFACT }}
asset_path: src/${{ matrix.ARTIFACT }}
asset_name: ${{ matrix.ARTIFACT }}
asset_content_type: application/octet-stream
- name: Upload Hash Asset
Expand All @@ -99,7 +102,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ needs.release.outputs.upload_url }}
asset_path: ${{ matrix.ARTIFACT }}.sha256
asset_path: src/${{ matrix.ARTIFACT }}.sha256
asset_name: ${{ matrix.ARTIFACT }}.sha256
asset_content_type: text/plain
themes:
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit ed2eac8

Please sign in to comment.