Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update actions/checkout action to v4 #2843

Merged
merged 2 commits into from
Sep 6, 2023
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
10 changes: 5 additions & 5 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
pull_request:
branches: [develop]
paths-ignore:
- '**/README.md'
- "**/README.md"

jobs:
build:
Expand All @@ -18,7 +18,7 @@ jobs:
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Get dependencies
run: |
Expand All @@ -39,7 +39,7 @@ jobs:
TEST_LANG: [go, rswasm]
steps:
- name: checkout to the directory
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: install golang
uses: actions/setup-go@v4
Expand Down Expand Up @@ -92,7 +92,7 @@ jobs:
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v3
uses: actions/checkout@v4

# - name: Generate SC files
# run: |
Expand All @@ -119,4 +119,4 @@ jobs:
working-directory: tools/wasp-cli
version: v1.53.2
args: --timeout 15m0s
skip-pkg-cache: true
skip-pkg-cache: true
2 changes: 1 addition & 1 deletion .github/workflows/go-mod-tidy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
private_key: ${{ secrets.IOTA_GH_APP_PRIVATE_KEY }}

- name: Check out code into the Go module directory
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.ref }}
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/heavy-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
apt install -y build-essential libstdc++6 software-properties-common make gcc git curl tar
- name: Check out code into the Go module directory
id: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: install go
id: go
uses: actions/setup-go@v4
Expand All @@ -39,7 +39,7 @@ jobs:
working-directory: tools/wasp-cli
version: v1.53.2
args: --timeout 10m0s
skip-pkg-cache: true
skip-pkg-cache: true

- name: Get the job name
id: get_job_name
Expand Down Expand Up @@ -97,7 +97,7 @@ jobs:
}
env:
SLACK_WEBHOOK_URL: "${{ secrets.SLACK_WEBHOOK_URL }}"

contract-test:
name: Wasm contract tests
runs-on:
Expand All @@ -119,7 +119,7 @@ jobs:
apt install -y build-essential libstdc++6 software-properties-common make gcc git wget curl tar
- name: checkout to the directory
id: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: install golang
id: go
uses: actions/setup-go@v4
Expand Down Expand Up @@ -185,7 +185,7 @@ jobs:
elif [ $TEST_LANG == "rswasm" ]; then
go test ./... -rswasm
fi

- name: Get the job name
id: get_job_name
if: "${{ failure() }}"
Expand Down Expand Up @@ -242,7 +242,7 @@ jobs:
}
env:
SLACK_WEBHOOK_URL: "${{ secrets.SLACK_WEBHOOK_URL }}"

test:
name: Test
runs-on:
Expand All @@ -256,7 +256,7 @@ jobs:
apt install -y build-essential libstdc++6 software-properties-common make gcc git curl tar
- name: Check out code into the Go module directory
id: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Go 1.x
id: go
Expand All @@ -276,7 +276,7 @@ jobs:
/usr/local/bin/inx-faucet
- name: Checkout Hornet
id: hornet
uses: actions/checkout@v3
uses: actions/checkout@v4
if: steps.cache_hornet.outputs.cache-hit != 'true'
with:
repository: iotaledger/hornet
Expand All @@ -294,7 +294,7 @@ jobs:
- name: Checkout Indexer
id: inx-indexer
if: steps.cache_hornet.outputs.cache-hit != 'true'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: iotaledger/inx-indexer
ref: ${{ vars.INX_INDEXER_VERSION }}
Expand All @@ -311,7 +311,7 @@ jobs:
- name: Checkout Coordinator
id: inx_coordinator
if: steps.cache_hornet.outputs.cache-hit != 'true'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: iotaledger/inx-coordinator
ref: ${{ vars.INX_COORDINATOR_VERSION }}
Expand All @@ -328,7 +328,7 @@ jobs:
- name: Checkout Faucet
id: inx-faucet
if: steps.cache_hornet.outputs.cache-hit != 'true'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: iotaledger/inx-faucet
ref: ${{ vars.INX_FAUCET_VERSION }}
Expand Down
15 changes: 6 additions & 9 deletions .github/workflows/publish-iscmagic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,13 @@ jobs:
run:
working-directory: ./packages/vm/core/evm/iscmagic
steps:
- uses: actions/checkout@v3
-
uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: lts/*
registry-url: 'https://registry.npmjs.org'
registry-url: "https://registry.npmjs.org"
scope: iota
-
run: npm version ${{ inputs.version }}
-
run: npm publish --access public
- run: npm version ${{ inputs.version }}
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
15 changes: 6 additions & 9 deletions .github/workflows/publish-iscutils.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,13 @@ jobs:
run:
working-directory: ./tools/evm/iscutils
steps:
- uses: actions/checkout@v3
-
uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: lts/*
registry-url: 'https://registry.npmjs.org'
registry-url: "https://registry.npmjs.org"
scope: iota
-
run: npm version ${{ inputs.version }}
-
run: npm publish --access public
- run: npm version ${{ inputs.version }}
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
33 changes: 16 additions & 17 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Tar temporary artifacts
run: tar --exclude='temp.tar' -cf temp.tar ./

- name: Upload temporary artifacts
uses: actions/upload-artifact@v3
with:
Expand All @@ -25,12 +25,11 @@ jobs:
- name: Set up Node
uses: actions/[email protected]
with:
node-version: '14'
node-version: "14"

- name: Install dependencies
run: npm install @slack/webhook


binaries:
needs: setup
name: Release wasp-cli Binaries
Expand All @@ -40,15 +39,15 @@ jobs:
steps:
- name: Create dist folder
run: mkdir /dist && cd /dist/

- name: Download temporary artifacts
uses: actions/download-artifact@v3
with:
name: wasp

- name: Untar temporary artifacts, cleanup and set correct permissions
run: tar -xf temp.tar && rm temp.tar && chown -R root:root .

- name: Release wasp-cli
run: goreleaser --clean -f ./tools/wasp-cli/.goreleaser.yml
env:
Expand All @@ -65,10 +64,10 @@ jobs:
uses: actions/download-artifact@v3
with:
name: wasp

- name: Untar temporary artifacts and cleanup
run: tar -xf temp.tar && rm temp.tar

- name: Set up QEMU
uses: docker/setup-qemu-action@v2

Expand All @@ -79,11 +78,11 @@ jobs:
id: tagger
uses: jimschubert/query-tag-action@v2
with:
include: 'v*'
exclude: ''
commit-ish: 'HEAD'
skip-unshallow: 'true'
include: "v*"
exclude: ""
commit-ish: "HEAD"
skip-unshallow: "true"

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
Expand All @@ -102,7 +101,7 @@ jobs:
with:
username: ${{ secrets.IOTALEDGER_DOCKER_USERNAME }}
password: ${{ secrets.IOTALEDGER_DOCKER_PASSWORD }}

- name: Build and push to Dockerhub
uses: docker/build-push-action@v4
with:
Expand All @@ -114,7 +113,7 @@ jobs:
labels: ${{ steps.meta.outputs.labels }}
build-args: |
BUILD_LD_FLAGS=-X=github.com/iotaledger/wasp/components/app.Version=${{ steps.tagger.outputs.tag }}

release-iscmagic:
uses: ./.github/workflows/publish-iscmagic.yml
needs: release-docker
Expand All @@ -129,4 +128,4 @@ jobs:
with:
version: ${{ needs.release-docker.outputs.version }}
secrets:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
Loading