Skip to content

Commit

Permalink
Fixing build workflow (#261)
Browse files Browse the repository at this point in the history
### Summary
- The main build and test workflow has been failing for my PRs:
 - #259
 - #260
- As far as I understood the issue, some dependency now leaves a folder
called `go` with this in it:
```
go/pkg/mod/cache/download/github.com/pulumi/pulumi/pkg/v3/@v:
list
v3.112.0.info
v3.112.0.mod
```

I just set to ignore it in .gitignore, is there a better solution maybe?
I figured it was not worth tracking down where it comes from, since this
looks like some package metadata, lmk if we care to find out what leaves
that behind.

Also:
- Adding '.mono` to gitignore, dotnet compilation keeps generating it
- Adding logic to not install not needed languages, which speeds up
tests a little
  • Loading branch information
IaroslavTitov authored Apr 26, 2024
1 parent 2ea8a75 commit 6b2d0c3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/run-acceptance-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,20 +59,24 @@ jobs:
run: git fetch --prune --unshallow --tags
- name: Install Go
uses: actions/setup-go@v4
if: ${{ matrix.language == 'go' }}
with:
go-version: ${{ matrix.goversion }}
cache-dependency-path: sdk/go.sum
- name: Setup Node
uses: actions/setup-node@v3
if: ${{ matrix.language == 'nodejs' }}
with:
node-version: ${{matrix.nodeversion}}
registry-url: https://registry.npmjs.org
- name: Setup DotNet
uses: actions/setup-dotnet@v3
if: ${{ matrix.language == 'dotnet' }}
with:
dotnet-version: ${{matrix.dotnetversion}}
- name: Setup Python
uses: actions/setup-python@v4
if: ${{ matrix.language == 'python' }}
with:
python-version: ${{matrix.pythonversion}}
- name: Set up JDK 11
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ yarn.lock
ci-scripts
/nuget/
**/version.txt
.mono
go

0 comments on commit 6b2d0c3

Please sign in to comment.