diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index b577ad0..2cdeb92 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -5,10 +5,10 @@ permissions: {} on: push: - branches: [ master ] + branches: [ main ] pull_request: # The branches below must be a subset of the branches above - branches: [ master ] + branches: [ main ] schedule: - cron: '30 5 * * 4' @@ -28,7 +28,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index f0b180d..24ff75a 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -11,10 +11,10 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v5 with: go-version: 1.19 - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: golangci-lint uses: golangci/golangci-lint-action@v3 @@ -24,19 +24,19 @@ jobs: - lint strategy: matrix: - go: ['1.18', '1.19'] + go: ['1.22', 'tip'] steps: - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: ${{ matrix.go }} - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Run tests run: | go test -v -race -covermode atomic -coverprofile=coverage.txt ./... - name: Upload coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: flags: linux,local fail_ci_if_error: true diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 8050907..48be3ea 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -14,16 +14,16 @@ jobs: go: ['1.18', '1.19'] steps: - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: ${{ matrix.go }} - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Run tests run: | go test -v -race -covermode atomic -coverprofile=coverage.txt ./... - name: Upload coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: flags: macos,local fail_ci_if_error: true diff --git a/.github/workflows/semantic-pull-request.yml b/.github/workflows/semantic-pull-request.yml index e55691b..8f2c520 100644 --- a/.github/workflows/semantic-pull-request.yml +++ b/.github/workflows/semantic-pull-request.yml @@ -12,7 +12,7 @@ jobs: name: Validate PR title runs-on: ubuntu-latest steps: - - uses: amannn/action-semantic-pull-request@v4 + - uses: amannn/action-semantic-pull-request@v5 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: diff --git a/.github/workflows/test-guild.yml b/.github/workflows/test-guild.yml index 9f163f0..37bd0e4 100644 --- a/.github/workflows/test-guild.yml +++ b/.github/workflows/test-guild.yml @@ -23,13 +23,13 @@ jobs: - NetworkGenesis - NetworkTotals steps: - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v5 with: go-version: 1.19 - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: go test -v -covermode atomic -coverprofile coverage.txt -run ^Test${{ matrix.test }}$ - name: Upload coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: flags: "${{ env.KOIOS_NETWORK }},${{ github.job }},${{ matrix.test }}" name: "${{ env.KOIOS_NETWORK }}-${{ github.job }}-${{ matrix.test }}" @@ -45,13 +45,13 @@ jobs: - EpochParams - EpochBlockProtocols steps: - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v5 with: go-version: 1.19 - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: go test -v -covermode atomic -coverprofile coverage.txt -run ^Test${{ matrix.test }}$ - name: Upload coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: flags: "${{ env.KOIOS_NETWORK }},${{ github.job }},${{ matrix.test }}" name: "${{ env.KOIOS_NETWORK }}-${{ github.job }}-${{ matrix.test }}" @@ -67,13 +67,13 @@ jobs: - BlockInfo - BlockTxs steps: - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v5 with: go-version: 1.19 - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: go test -v -covermode atomic -coverprofile coverage.txt -run ^Test${{ matrix.test }}$ - name: Upload coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: flags: "${{ env.KOIOS_NETWORK }},${{ github.job }},${{ matrix.test }}" name: "${{ env.KOIOS_NETWORK }}-${{ github.job }}-${{ matrix.test }}" @@ -91,13 +91,13 @@ jobs: - TxMetaLabels - TxStatus steps: - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v5 with: go-version: 1.19 - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: go test -v -covermode atomic -coverprofile coverage.txt -run ^Test${{ matrix.test }}$ - name: Upload coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: flags: "${{ env.KOIOS_NETWORK }},${{ github.job }},${{ matrix.test }}" name: "${{ env.KOIOS_NETWORK }}-${{ github.job }}-${{ matrix.test }}" @@ -117,13 +117,13 @@ jobs: - AddressAssets - CredentialTxs steps: - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v5 with: go-version: 1.19 - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: go test -v -covermode atomic -coverprofile coverage.txt -run ^Test${{ matrix.test }}$ - name: Upload coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: flags: "${{ env.KOIOS_NETWORK }},${{ github.job }},${{ matrix.test }}" name: "${{ env.KOIOS_NETWORK }}-${{ github.job }}-${{ matrix.test }}" @@ -147,13 +147,13 @@ jobs: - AccountAssets - AccountHistory steps: - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v5 with: go-version: 1.19 - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: go test -v -covermode atomic -coverprofile coverage.txt -run ^Test${{ matrix.test }}$ - name: Upload coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: flags: "${{ env.KOIOS_NETWORK }},${{ github.job }},${{ matrix.test }}" name: "${{ env.KOIOS_NETWORK }}-${{ github.job }}-${{ matrix.test }}" @@ -176,13 +176,13 @@ jobs: - AssetSummary - AssetTxs steps: - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v5 with: go-version: 1.19 - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: go test -v -covermode atomic -coverprofile coverage.txt -run ^Test${{ matrix.test }}$ - name: Upload coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: flags: "${{ env.KOIOS_NETWORK }},${{ github.job }},${{ matrix.test }}" name: "${{ env.KOIOS_NETWORK }}-${{ github.job }}-${{ matrix.test }}" @@ -208,13 +208,13 @@ jobs: - PoolRelays - PoolMetadata steps: - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v5 with: go-version: 1.19 - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: go test -v -covermode atomic -coverprofile coverage.txt -run ^Test${{ matrix.test }}$ - name: Upload coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: flags: "${{ env.KOIOS_NETWORK }},${{ github.job }},${{ matrix.test }}" name: "${{ env.KOIOS_NETWORK }}-${{ github.job }}-${{ matrix.test }}" @@ -234,13 +234,13 @@ jobs: - ScriptRedeemers - DatumInfo steps: - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v5 with: go-version: 1.19 - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: go test -v -covermode atomic -coverprofile coverage.txt -run ^Test${{ matrix.test }}$ - name: Upload coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: flags: "${{ env.KOIOS_NETWORK }},${{ github.job }},${{ matrix.test }}" name: "${{ env.KOIOS_NETWORK }}-${{ github.job }}-${{ matrix.test }}" diff --git a/.github/workflows/test-mainnet.yml b/.github/workflows/test-mainnet.yml index 423429e..428d18b 100644 --- a/.github/workflows/test-mainnet.yml +++ b/.github/workflows/test-mainnet.yml @@ -23,13 +23,13 @@ jobs: - NetworkGenesis - NetworkTotals steps: - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v5 with: go-version: 1.19 - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: go test -v -covermode atomic -coverprofile coverage.txt -run ^Test${{ matrix.test }}$ - name: Upload coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: flags: "${{ env.KOIOS_NETWORK }},${{ github.job }},${{ matrix.test }}" name: "${{ env.KOIOS_NETWORK }}-${{ github.job }}-${{ matrix.test }}" @@ -45,13 +45,13 @@ jobs: - EpochParams - EpochBlockProtocols steps: - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v5 with: go-version: 1.19 - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: go test -v -covermode atomic -coverprofile coverage.txt -run ^Test${{ matrix.test }}$ - name: Upload coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: flags: "${{ env.KOIOS_NETWORK }},${{ github.job }},${{ matrix.test }}" name: "${{ env.KOIOS_NETWORK }}-${{ github.job }}-${{ matrix.test }}" @@ -67,13 +67,13 @@ jobs: - BlockInfo - BlockTxs steps: - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v5 with: go-version: 1.19 - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: go test -v -covermode atomic -coverprofile coverage.txt -run ^Test${{ matrix.test }}$ - name: Upload coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: flags: "${{ env.KOIOS_NETWORK }},${{ github.job }},${{ matrix.test }}" name: "${{ env.KOIOS_NETWORK }}-${{ github.job }}-${{ matrix.test }}" @@ -91,13 +91,13 @@ jobs: - TxMetaLabels - TxStatus steps: - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v5 with: go-version: 1.19 - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: go test -v -covermode atomic -coverprofile coverage.txt -run ^Test${{ matrix.test }}$ - name: Upload coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: flags: "${{ env.KOIOS_NETWORK }},${{ github.job }},${{ matrix.test }}" name: "${{ env.KOIOS_NETWORK }}-${{ github.job }}-${{ matrix.test }}" @@ -117,13 +117,13 @@ jobs: - AddressAssets - CredentialTxs steps: - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v5 with: go-version: 1.19 - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: go test -v -covermode atomic -coverprofile coverage.txt -run ^Test${{ matrix.test }}$ - name: Upload coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: flags: "${{ env.KOIOS_NETWORK }},${{ github.job }},${{ matrix.test }}" name: "${{ env.KOIOS_NETWORK }}-${{ github.job }}-${{ matrix.test }}" @@ -147,13 +147,13 @@ jobs: - AccountAssets - AccountHistory steps: - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v5 with: go-version: 1.19 - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: go test -v -covermode atomic -coverprofile coverage.txt -run ^Test${{ matrix.test }}$ - name: Upload coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: flags: "${{ env.KOIOS_NETWORK }},${{ github.job }},${{ matrix.test }}" name: "${{ env.KOIOS_NETWORK }}-${{ github.job }}-${{ matrix.test }}" @@ -176,13 +176,13 @@ jobs: - AssetSummary - AssetTxs steps: - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v5 with: go-version: 1.19 - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: go test -v -covermode atomic -coverprofile coverage.txt -run ^Test${{ matrix.test }}$ - name: Upload coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: flags: "${{ env.KOIOS_NETWORK }},${{ github.job }},${{ matrix.test }}" name: "${{ env.KOIOS_NETWORK }}-${{ github.job }}-${{ matrix.test }}" @@ -208,13 +208,13 @@ jobs: - PoolRelays - PoolMetadata steps: - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v5 with: go-version: 1.19 - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: go test -v -covermode atomic -coverprofile coverage.txt -run ^Test${{ matrix.test }}$ - name: Upload coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: flags: "${{ env.KOIOS_NETWORK }},${{ github.job }},${{ matrix.test }}" name: "${{ env.KOIOS_NETWORK }}-${{ github.job }}-${{ matrix.test }}" @@ -234,13 +234,13 @@ jobs: - ScriptRedeemers - DatumInfo steps: - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v5 with: go-version: 1.19 - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: go test -v -covermode atomic -coverprofile coverage.txt -run ^Test${{ matrix.test }}$ - name: Upload coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: flags: "${{ env.KOIOS_NETWORK }},${{ github.job }},${{ matrix.test }}" name: "${{ env.KOIOS_NETWORK }}-${{ github.job }}-${{ matrix.test }}" diff --git a/.github/workflows/test-preprod.yml b/.github/workflows/test-preprod.yml index cf9cb24..8a99c52 100644 --- a/.github/workflows/test-preprod.yml +++ b/.github/workflows/test-preprod.yml @@ -23,13 +23,13 @@ jobs: - NetworkGenesis - NetworkTotals steps: - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v5 with: go-version: 1.19 - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: go test -v -covermode atomic -coverprofile coverage.txt -run ^Test${{ matrix.test }}$ - name: Upload coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: flags: "${{ env.KOIOS_NETWORK }},${{ github.job }},${{ matrix.test }}" name: "${{ env.KOIOS_NETWORK }}-${{ github.job }}-${{ matrix.test }}" @@ -45,13 +45,13 @@ jobs: - EpochParams - EpochBlockProtocols steps: - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v5 with: go-version: 1.19 - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: go test -v -covermode atomic -coverprofile coverage.txt -run ^Test${{ matrix.test }}$ - name: Upload coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: flags: "${{ env.KOIOS_NETWORK }},${{ github.job }},${{ matrix.test }}" name: "${{ env.KOIOS_NETWORK }}-${{ github.job }}-${{ matrix.test }}" @@ -67,13 +67,13 @@ jobs: - BlockInfo - BlockTxs steps: - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v5 with: go-version: 1.19 - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: go test -v -covermode atomic -coverprofile coverage.txt -run ^Test${{ matrix.test }}$ - name: Upload coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: flags: "${{ env.KOIOS_NETWORK }},${{ github.job }},${{ matrix.test }}" name: "${{ env.KOIOS_NETWORK }}-${{ github.job }}-${{ matrix.test }}" @@ -91,13 +91,13 @@ jobs: - TxMetaLabels - TxStatus steps: - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v5 with: go-version: 1.19 - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: go test -v -covermode atomic -coverprofile coverage.txt -run ^Test${{ matrix.test }}$ - name: Upload coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: flags: "${{ env.KOIOS_NETWORK }},${{ github.job }},${{ matrix.test }}" name: "${{ env.KOIOS_NETWORK }}-${{ github.job }}-${{ matrix.test }}" @@ -117,13 +117,13 @@ jobs: - AddressAssets - CredentialTxs steps: - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v5 with: go-version: 1.19 - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: go test -v -covermode atomic -coverprofile coverage.txt -run ^Test${{ matrix.test }}$ - name: Upload coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: flags: "${{ env.KOIOS_NETWORK }},${{ github.job }},${{ matrix.test }}" name: "${{ env.KOIOS_NETWORK }}-${{ github.job }}-${{ matrix.test }}" @@ -147,13 +147,13 @@ jobs: - AccountAssets - AccountHistory steps: - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v5 with: go-version: 1.19 - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: go test -v -covermode atomic -coverprofile coverage.txt -run ^Test${{ matrix.test }}$ - name: Upload coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: flags: "${{ env.KOIOS_NETWORK }},${{ github.job }},${{ matrix.test }}" name: "${{ env.KOIOS_NETWORK }}-${{ github.job }}-${{ matrix.test }}" @@ -176,13 +176,13 @@ jobs: - AssetSummary - AssetTxs steps: - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v5 with: go-version: 1.19 - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: go test -v -covermode atomic -coverprofile coverage.txt -run ^Test${{ matrix.test }}$ - name: Upload coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: flags: "${{ env.KOIOS_NETWORK }},${{ github.job }},${{ matrix.test }}" name: "${{ env.KOIOS_NETWORK }}-${{ github.job }}-${{ matrix.test }}" @@ -208,13 +208,13 @@ jobs: - PoolRelays - PoolMetadata steps: - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v5 with: go-version: 1.19 - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: go test -v -covermode atomic -coverprofile coverage.txt -run ^Test${{ matrix.test }}$ - name: Upload coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: flags: "${{ env.KOIOS_NETWORK }},${{ github.job }},${{ matrix.test }}" name: "${{ env.KOIOS_NETWORK }}-${{ github.job }}-${{ matrix.test }}" @@ -234,13 +234,13 @@ jobs: - ScriptRedeemers - DatumInfo steps: - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v5 with: go-version: 1.19 - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: go test -v -covermode atomic -coverprofile coverage.txt -run ^Test${{ matrix.test }}$ - name: Upload coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: flags: "${{ env.KOIOS_NETWORK }},${{ github.job }},${{ matrix.test }}" name: "${{ env.KOIOS_NETWORK }}-${{ github.job }}-${{ matrix.test }}" diff --git a/.github/workflows/test-preview.yml b/.github/workflows/test-preview.yml index 302d097..35f5c66 100644 --- a/.github/workflows/test-preview.yml +++ b/.github/workflows/test-preview.yml @@ -23,13 +23,13 @@ jobs: - NetworkGenesis - NetworkTotals steps: - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v5 with: go-version: 1.19 - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: go test -v -covermode atomic -coverprofile coverage.txt -run ^Test${{ matrix.test }}$ - name: Upload coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: flags: "${{ env.KOIOS_NETWORK }},${{ github.job }},${{ matrix.test }}" name: "${{ env.KOIOS_NETWORK }}-${{ github.job }}-${{ matrix.test }}" @@ -45,13 +45,13 @@ jobs: - EpochParams - EpochBlockProtocols steps: - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v5 with: go-version: 1.19 - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: go test -v -covermode atomic -coverprofile coverage.txt -run ^Test${{ matrix.test }}$ - name: Upload coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: flags: "${{ env.KOIOS_NETWORK }},${{ github.job }},${{ matrix.test }}" name: "${{ env.KOIOS_NETWORK }}-${{ github.job }}-${{ matrix.test }}" @@ -67,13 +67,13 @@ jobs: - BlockInfo - BlockTxs steps: - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v5 with: go-version: 1.19 - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: go test -v -covermode atomic -coverprofile coverage.txt -run ^Test${{ matrix.test }}$ - name: Upload coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: flags: "${{ env.KOIOS_NETWORK }},${{ github.job }},${{ matrix.test }}" name: "${{ env.KOIOS_NETWORK }}-${{ github.job }}-${{ matrix.test }}" @@ -91,13 +91,13 @@ jobs: - TxMetaLabels - TxStatus steps: - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v5 with: go-version: 1.19 - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: go test -v -covermode atomic -coverprofile coverage.txt -run ^Test${{ matrix.test }}$ - name: Upload coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: flags: "${{ env.KOIOS_NETWORK }},${{ github.job }},${{ matrix.test }}" name: "${{ env.KOIOS_NETWORK }}-${{ github.job }}-${{ matrix.test }}" @@ -117,13 +117,13 @@ jobs: - AddressAssets - CredentialTxs steps: - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v5 with: go-version: 1.19 - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: go test -v -covermode atomic -coverprofile coverage.txt -run ^Test${{ matrix.test }}$ - name: Upload coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: flags: "${{ env.KOIOS_NETWORK }},${{ github.job }},${{ matrix.test }}" name: "${{ env.KOIOS_NETWORK }}-${{ github.job }}-${{ matrix.test }}" @@ -147,13 +147,13 @@ jobs: - AccountAssets - AccountHistory steps: - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v5 with: go-version: 1.19 - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: go test -v -covermode atomic -coverprofile coverage.txt -run ^Test${{ matrix.test }}$ - name: Upload coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: flags: "${{ env.KOIOS_NETWORK }},${{ github.job }},${{ matrix.test }}" name: "${{ env.KOIOS_NETWORK }}-${{ github.job }}-${{ matrix.test }}" @@ -176,13 +176,13 @@ jobs: - AssetSummary - AssetTxs steps: - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v5 with: go-version: 1.19 - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: go test -v -covermode atomic -coverprofile coverage.txt -run ^Test${{ matrix.test }}$ - name: Upload coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: flags: "${{ env.KOIOS_NETWORK }},${{ github.job }},${{ matrix.test }}" name: "${{ env.KOIOS_NETWORK }}-${{ github.job }}-${{ matrix.test }}" @@ -208,13 +208,13 @@ jobs: - PoolRelays - PoolMetadata steps: - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v5 with: go-version: 1.19 - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: go test -v -covermode atomic -coverprofile coverage.txt -run ^Test${{ matrix.test }}$ - name: Upload coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: flags: "${{ env.KOIOS_NETWORK }},${{ github.job }},${{ matrix.test }}" name: "${{ env.KOIOS_NETWORK }}-${{ github.job }}-${{ matrix.test }}" @@ -234,13 +234,13 @@ jobs: - ScriptRedeemers - DatumInfo steps: - - uses: actions/setup-go@v3 + - uses: actions/setup-go@v5 with: go-version: 1.19 - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: go test -v -covermode atomic -coverprofile coverage.txt -run ^Test${{ matrix.test }}$ - name: Upload coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: flags: "${{ env.KOIOS_NETWORK }},${{ github.job }},${{ matrix.test }}" name: "${{ env.KOIOS_NETWORK }}-${{ github.job }}-${{ matrix.test }}" diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 34117ac..716223d 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -14,17 +14,17 @@ jobs: go: ['1.18', '1.19'] steps: - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v5 with: go-version: ${{ matrix.go }} - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Run tests run: | go mod download -x go test -v -race -coverprofile coverage.coverprofile -covermode atomic ./... - name: Upload coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: flags: windows,local fail_ci_if_error: true