Skip to content

Commit

Permalink
ci: upgrade actions/checkout to v3
Browse files Browse the repository at this point in the history
  • Loading branch information
turadg authored and mergify[bot] committed Jan 28, 2023
1 parent e68b6c5 commit bb1745b
Show file tree
Hide file tree
Showing 20 changed files with 47 additions and 47 deletions.
2 changes: 1 addition & 1 deletion .github/actions/restore-golang/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ runs:
- name: set default environment variables
run: echo GOPATH="$HOME/go" >> $GITHUB_ENV
shell: bash
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
clean: 'false'
submodules: 'true'
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/restore-node/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ runs:
- name: set default environment variables
run: echo ESM_DISABLE_CACHE=true >> $GITHUB_ENV
shell: bash
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
clean: 'false'
submodules: 'true'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflow-templates/test-dapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

steps:
- name: Checkout agoric-sdk
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: agoric-sdk
- name: Use Node.js ${{ matrix.node-version }}
Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:
working-directory: ./agoric-sdk

- name: Check out dapp
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: Agoric/[[INSERT_DAPP_NAME]]
path: dapp
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/after-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
matrix:
node-version: ['14.x', '16.x', '18.x']
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: 'true'
- uses: ./.github/actions/restore-node
Expand All @@ -39,7 +39,7 @@ jobs:
# note: only use one node-version
node-version: ['14.x']
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: ./.github/actions/restore-node
with:
node-version: ${{ matrix.node-version }}
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
node-version: ['14.x']
if: ${{github.event_name == 'push' }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: ./.github/actions/restore-node
with:
node-version: ${{ matrix.node-version }}
Expand Down Expand Up @@ -125,7 +125,7 @@ jobs:
node-version: ['14.x']
if: ${{github.event_name == 'push'}}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: ./.github/actions/restore-node
with:
node-version: ${{ matrix.node-version }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ag-solo-xs.yml.DISABLED
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v1
with:
node-version: '14.x'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deployment-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
if: needs.pre_check.outputs.should_run == 'true'
runs-on: ubuntu-18.04 # trusty
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: 'true'
- run: sudo packages/deployment/scripts/install-deps.sh
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
return branch;
- name: Check out loadgen
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: Agoric/testnet-load-generator
path: testnet-load-generator
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- linux/amd64
- linux/arm64/v8
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Save BUILD_TAG
run: |
ARCH=$(echo '${{ matrix.platform }}' | tr / _)
Expand Down Expand Up @@ -166,7 +166,7 @@ jobs:
runs-on: ubuntu-latest
if: ${{ needs.docker-sdk.outputs.tag }} != dev
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Save SDK_TAG
run: echo "SDK_TAG=${{ needs.snapshot.outputs.tag }}" >> $GITHUB_ENV
- name: Prefix tags
Expand Down Expand Up @@ -210,7 +210,7 @@ jobs:
needs: [docker-sdk, snapshot]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Save SDK_TAG
run: echo "SDK_TAG=${{ needs.snapshot.outputs.tag }}" >> $GITHUB_ENV
- name: Prefix tags
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
name: golangci-lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '>=1.17'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
# cli: [link-cli, local-npm]
cli: [link-cli]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

# Prerequisites

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/proto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: 'true'
- uses: technote-space/get-diff-action@v4
Expand All @@ -27,7 +27,7 @@ jobs:
breakage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: 'true'
- uses: technote-space/get-diff-action@v4
Expand Down
26 changes: 13 additions & 13 deletions .github/workflows/test-all-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
matrix:
node-version: ['14.x', '16.x', '18.x']
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: 'true'
- uses: ./.github/actions/restore-node
Expand All @@ -41,7 +41,7 @@ jobs:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: ./.github/actions/restore-node
with:
node-version: '18.x'
Expand All @@ -57,7 +57,7 @@ jobs:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: ./.github/actions/restore-node
with:
node-version: '18.x'
Expand All @@ -82,7 +82,7 @@ jobs:
echo ::set-output name=test::${{ matrix.engine == 'xs' && 'test:xs' || 'test' }}
echo "GH_ENGINE=${{ matrix.engine }}" >> $GITHUB_ENV
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: ./.github/actions/restore-node
with:
node-version: ${{ steps.vars.outputs.node-version }}
Expand Down Expand Up @@ -153,7 +153,7 @@ jobs:
echo ::set-output name=node-version::${{ matrix.engine == 'xs' && '14.x' || matrix.engine }}
echo ::set-output name=test::${{ matrix.engine == 'xs' && 'test:xs' || 'test' }}
echo "GH_ENGINE=${{ matrix.engine }}" >> $GITHUB_ENV
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: ./.github/actions/restore-node
with:
node-version: ${{ steps.vars.outputs.node-version }}
Expand Down Expand Up @@ -210,7 +210,7 @@ jobs:
echo ::set-output name=test::${{ matrix.engine == 'xs' && 'test:xs' || 'test' }}
echo "GH_ENGINE=${{ matrix.engine }}" >> $GITHUB_ENV
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: ./.github/actions/restore-node
with:
node-version: ${{ steps.vars.outputs.node-version }}
Expand All @@ -236,7 +236,7 @@ jobs:
echo ::set-output name=test::${{ matrix.engine == 'xs' && 'test:xs' || 'test' }}
echo "GH_ENGINE=${{ matrix.engine }}" >> $GITHUB_ENV
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: ./.github/actions/restore-node
with:
node-version: ${{ steps.vars.outputs.node-version }}
Expand Down Expand Up @@ -265,7 +265,7 @@ jobs:
echo ::set-output name=test::${{ matrix.engine == 'xs' && 'test:xs' || 'test' }}
echo "GH_ENGINE=${{ matrix.engine }}" >> $GITHUB_ENV
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: ./.github/actions/restore-node
with:
node-version: ${{ steps.vars.outputs.node-version }}
Expand All @@ -290,7 +290,7 @@ jobs:
echo ::set-output name=test::${{ matrix.engine == 'xs' && 'test:xs' || 'test' }}
echo "GH_ENGINE=${{ matrix.engine }}" >> $GITHUB_ENV
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: ./.github/actions/restore-node
with:
node-version: ${{ steps.vars.outputs.node-version }}
Expand Down Expand Up @@ -320,7 +320,7 @@ jobs:
echo ::set-output name=node-version::${{ matrix.engine == 'xs' && '14.x' || matrix.engine }}
echo ::set-output name=test::${{ matrix.engine == 'xs' && 'test:xs' || 'test' }}
echo "GH_ENGINE=${{ matrix.engine }}" >> $GITHUB_ENV
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: ./.github/actions/restore-node
with:
node-version: ${{ steps.vars.outputs.node-version }}
Expand All @@ -344,7 +344,7 @@ jobs:
echo ::set-output name=node-version::${{ matrix.engine == 'xs' && '14.x' || matrix.engine }}
echo ::set-output name=test::${{ matrix.engine == 'xs' && 'test:xs' || 'test' }}
echo "GH_ENGINE=${{ matrix.engine }}" >> $GITHUB_ENV
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: ./.github/actions/restore-node
with:
node-version: ${{ steps.vars.outputs.node-version }}
Expand All @@ -371,7 +371,7 @@ jobs:
echo ::set-output name=test::${{ matrix.engine == 'xs' && 'test:xs-unit' || 'test:unit' }}
echo "GH_ENGINE=${{ matrix.engine }}" >> $GITHUB_ENV
# BEGIN-TEST-BOILERPLATE
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: ./.github/actions/restore-node
with:
node-version: ${{ steps.vars.outputs.node-version }}
Expand All @@ -398,7 +398,7 @@ jobs:
echo ::set-output name=test::${{ matrix.engine == 'xs' && 'test:xs-worker' || 'test:swingset' }}
echo "GH_ENGINE=${{ matrix.engine }}" >> $GITHUB_ENV
# BEGIN-TEST-BOILERPLATE
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: ./.github/actions/restore-node
with:
node-version: ${{ steps.vars.outputs.node-version }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-dapp-card-store.yml.DISABLED
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

steps:
- name: Checkout agoric-sdk
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: agoric-sdk
- name: Use Node.js ${{ matrix.node-version }}
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:
working-directory: ./agoric-sdk

- name: Check out dapp
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: Agoric/dapp-card-store
path: dapp
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-dapp-fungible-faucet.yml.DISABLED
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

steps:
- name: Checkout agoric-sdk
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: agoric-sdk
- name: Use Node.js ${{ matrix.node-version }}
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:
working-directory: ./agoric-sdk

- name: Check out dapp
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: Agoric/dapp-fungible-faucet
path: dapp
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-dapp-otc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

steps:
- name: Checkout agoric-sdk
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: agoric-sdk
- name: Use Node.js ${{ matrix.node-version }}
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:
working-directory: ./agoric-sdk

- name: Check out dapp
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: Agoric/dapp-otc
path: dapp
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-dapp-pegasus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

steps:
- name: Checkout agoric-sdk
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: agoric-sdk
- name: Use Node.js ${{ matrix.node-version }}
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:
working-directory: ./agoric-sdk

- name: Check out dapp
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: Agoric/dapp-pegasus
path: dapp
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-dapp-simple-exchange.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

steps:
- name: Checkout agoric-sdk
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: agoric-sdk
- name: Use Node.js ${{ matrix.node-version }}
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:
working-directory: ./agoric-sdk

- name: Check out dapp
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: Agoric/dapp-simple-exchange
path: dapp
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-dapp-treasury.yml.DISABLED
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

steps:
- name: Checkout agoric-sdk
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: agoric-sdk
- name: Use Node.js ${{ matrix.node-version }}
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:
working-directory: ./agoric-sdk

- name: Check out dapp
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: Agoric/dapp-treasury
path: dapp
Expand Down
Loading

0 comments on commit bb1745b

Please sign in to comment.