Skip to content
This repository has been archived by the owner on Oct 6, 2024. It is now read-only.

Commit

Permalink
chore: update actions workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
ch3ck committed Apr 22, 2024
1 parent 15c82c4 commit 2519807
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
# Actions workflow to build code and run unit tests
# Author: Nyah Check
name: Build & Run Tests

on: [push, pull_request]

env:
CARGO_TERM_COLOR: always
RUST_VERSION: 1.65.0
RUST_VERSION: stable


jobs:
build-and-run-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/cache@v3
with:
Expand Down Expand Up @@ -53,7 +52,8 @@ jobs:

steps:
- name: Clone repo
uses: actions/checkout@master
uses: actions/checkout@v4

- name: tfsec
uses: aquasecurity/[email protected]
with:
Expand All @@ -69,7 +69,7 @@ jobs:
run:
working-directory: terraform
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v4

- uses: hashicorp/setup-terraform@v2
with:
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:

env:
CARGO_TERM_COLOR: always
RUST_VERSION: 1.65.0
RUST_VERSION: stable

permissions:
contents: write
Expand All @@ -26,7 +26,8 @@ jobs:
name: "Publish crate on Release"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions-rs/toolchain@v1
with:
profile: minimal
Expand Down Expand Up @@ -54,8 +55,8 @@ jobs:
runs-on: ubuntu-latest
environment: production
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/cache@v3
with:
path: |
Expand Down

0 comments on commit 2519807

Please sign in to comment.