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: use actions/checkout@(v1, v2) to v3 #2522

Merged
merged 1 commit into from
Aug 31, 2022
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
6 changes: 3 additions & 3 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
- id: set-matrix
run: echo "::set-output name=matrix::$(scripts/workflows/audit-matrix.py)"

Expand All @@ -24,10 +24,10 @@ jobs:
matrix: ${{fromJson(needs.build_matrix.outputs.matrix)}}

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
path: sdk
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
repository: 'RustSec/advisory-db'
path: advisory-db
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/consistent-sources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v13
with:
nix_path: nixpkgs=channel:nixos-21.05-small
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deny.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
name: license-check:required
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: EmbarkStudios/cargo-deny-action@v1
with:
command: check bans licenses sources # skip advisories, which are handled by audit.yml
8 changes: 4 additions & 4 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
rust: ["1.60.0"]
binary_path: ["target/release"]
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
- name: Cache Cargo
uses: actions/cache@v2
with:
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
- id: set-matrix
run: echo "::set-output name=matrix::$(scripts/workflows/e2e-matrix.py)"

Expand All @@ -70,7 +70,7 @@ jobs:
os: [macos-11, ubuntu-20.04]
rust: ["1.60.0"]
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
- name: Download dfx binary
uses: actions/download-artifact@v2
with:
Expand Down Expand Up @@ -103,7 +103,7 @@ jobs:
env:
E2E_TEST: tests-${{ matrix.test }}.bash
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
- name: Download dfx binary
uses: actions/download-artifact@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fmt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
os: [ ubuntu-latest ]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Cache Cargo
uses: actions/cache@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
os: [ ubuntu-latest, macos-latest ]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- uses: actions/cache@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prepare-dfx-assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
rust: [ '1.60.0' ]
os: [ ubuntu-latest, macos-latest ]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions/cache@v2
with:
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
publish-manifest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Install shfmt
run: go install mvdan.cc/sh/v3/cmd/shfmt@latest
- name: Generate
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
name: x86_64-linux
tar: tar
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Setup environment variables
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/shellcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
# ubuntu-latest has shellcheck 0.4.6, while macos-latest has 0.7.1
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Install shellcheck
run: |
mkdir $HOME/bin
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
rust: [ '1.60.0' ]
os: [ ubuntu-latest, macos-latest ]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions/cache@v2
with:
path: |
Expand Down