fix(crater): install awscli from snap #2333
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
rust: | |
name: Rust projects | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: Install Rust stable | |
run: rustup update stable && rustup default stable | |
- name: Run rustfmt | |
run: cargo fmt --all -- --check | |
- name: Run the test suite | |
run: cargo test --all | |
- name: Run clippy | |
run: cargo clippy --all -- -Dwarnings | |
terraform: | |
name: Terraform configuration | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: Ensure the terraform files are formatted correctly | |
run: terraform fmt -check -diff -recursive | |
actions-js: | |
name: GitHub Actions (JS) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- name: Ensure the bundled action is the same as the source code | |
run: | | |
for action in $(ls github-actions/); do | |
if [[ -f "github-actions/${action}/package.json" ]]; then | |
pushd "github-actions/${action}" | |
sha256sum dist/* > "/tmp/sha256-${action}-before" | |
npm install | |
npm run build | |
sha256sum dist/* > "/tmp/sha256-${action}-after" | |
diff -u --color "/tmp/sha256-${action}-before" "/tmp/sha256-${action}-after" | |
popd | |
fi | |
done |