Skip to content
This repository was archived by the owner on Aug 29, 2023. It is now read-only.
Merged
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
7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,8 @@ runs:
run: echo "do some initial setup"
- name: Step 2
shell: bash
run: |
# note that it's not possible to use if: on the step, see https://github.com/actions/runner/issues/834
if [[ "${{ matrix.os }}" == "ubuntu" ]]; then
echo "do some Linux-specific setup"
fi
run: echo "do some Linux-specific setup"
if: ${{ matrix.os == 'ubuntu' }}
```

These setup steps are run after the repository has been checked out and after Go has been installed, but before any tests or checks are run.
Expand Down
4 changes: 3 additions & 1 deletion config.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
{ "target": "filecoin-project/go-fil-commp-hashhash" },
{ "target": "filecoin-project/go-hamt-ipld" },
{ "target": "filecoin-project/go-indexer-core" },
{ "target": "filecoin-project/go-legs" },
{ "target": "filecoin-project/indexer-reference-provider" },
{ "target": "filecoin-project/storetheindex" },
{ "target": "filecoin-shipyard/js-lotus-client-schema" },
Expand Down Expand Up @@ -34,6 +35,7 @@
{ "target": "ipfs/go-ds-pebble" },
{ "target": "ipfs/go-ds-redis" },
{ "target": "ipfs/go-ds-s3" },
{ "target": "ipfs/go-ds-sql" },
{ "target": "ipfs/go-fetcher", "deploy_versioning": true },
{ "target": "ipfs/go-filestore", "deploy_versioning": true },
{ "target": "ipfs/go-fs-lock" },
Expand Down Expand Up @@ -85,7 +87,7 @@
{ "target": "ipfs/iptb" },
{ "target": "ipfs/iptb-plugins" },
{ "target": "ipfs/pinbot-irc" },
{ "target": "ipfs/tar-utils" },
{ "target": "ipfs/tar-utils", "deploy_versioning": true },
{ "target": "ipld/codec-fixtures" },
{ "target": "ipld/go-car", "deploy_versioning": true },
{ "target": "ipld/go-codec-dagpb" },
Expand Down
8 changes: 8 additions & 0 deletions templates/.github/workflows/go-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@ jobs:
run: |
go version
go env
- name: Use msys2 on windows
if: ${{ matrix.os == 'windows' }}
shell: bash
# The executable for msys2 is also called bash.cmd
# https://github.com/actions/virtual-environments/blob/main/images/win/Windows2019-Readme.md#shells
# If we prepend its location to the PATH
# subsequent 'shell: bash' steps will use msys2 instead of gitbash
run: echo "C:/msys64/usr/bin" >> $GITHUB_PATH
- name: Run repo-specific setup
uses: ./.github/actions/go-test-setup
if: hashFiles('./.github/actions/go-test-setup') != ''
Expand Down