Skip to content
This repository has been archived by the owner on Jun 22, 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 671da35
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 33 deletions.
8 changes: 4 additions & 4 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ updates:
interval: "daily"
reviewers:
- "@ch3ck"
open-pull-requests-limit: 1
open-pull-requests-limit: 10

# Maintain dependencies for Cargo
- package-ecosystem: "cargo"
Expand All @@ -19,13 +19,13 @@ updates:
interval: "daily"
reviewers:
- "@ch3ck"
open-pull-requests-limit: 1
open-pull-requests-limit: 10

# Maintain dependencies for terraform
- package-ecosystem: "terraform"
directory: "/"
directory: "/terraform"
schedule:
interval: "daily"
reviewers:
- "@ch3ck"
open-pull-requests-limit: 1
open-pull-requests-limit: 10
20 changes: 0 additions & 20 deletions .github/workflows/audit.yml

This file was deleted.

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 671da35

Please sign in to comment.