diff --git a/.github/workflows/prod.yml b/.github/workflows/prod.yml index 7333d2ca..6ee790b9 100644 --- a/.github/workflows/prod.yml +++ b/.github/workflows/prod.yml @@ -15,7 +15,7 @@ jobs: packages: write id-token: write steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Setup elixir id: beam uses: erlef/setup-beam@v1 @@ -24,7 +24,7 @@ jobs: elixir-version: 1.14.5 # Define the elixir version [required] version-type: strict - name: Cache Mix - uses: actions/cache@v1 + uses: actions/cache@v3 with: path: deps key: ${{ runner.os }}-mix-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }} @@ -37,7 +37,7 @@ jobs: - name: Create tarball run: cd _build/prod/rel/ && tar -czvf ${{ secrets.TARBALL_REGIONS_PROD }}_supavisor_v$(cat ../../../VERSION)_$(date "+%s").tar.gz supavisor - name: configure aws credentials - production - uses: aws-actions/configure-aws-credentials@v1 + uses: aws-actions/configure-aws-credentials@v4 with: role-to-assume: ${{ secrets.PROD_AWS_ROLE }} aws-region: "us-east-1" diff --git a/.github/workflows/stage.yml b/.github/workflows/stage.yml index 6c2a81d5..f66b7e9c 100644 --- a/.github/workflows/stage.yml +++ b/.github/workflows/stage.yml @@ -15,7 +15,7 @@ jobs: packages: write id-token: write steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Setup elixir id: beam uses: erlef/setup-beam@v1 @@ -24,7 +24,7 @@ jobs: elixir-version: 1.14.5 # Define the elixir version [required] version-type: strict - name: Cache Mix - uses: actions/cache@v1 + uses: actions/cache@v3 with: path: deps key: ${{ runner.os }}-mix-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }} @@ -37,7 +37,7 @@ jobs: - name: Create tarball run: cd _build/prod/rel/ && tar -czvf ${{ secrets.TARBALL_REGIONS_STAGE }}_supavisor_v$(cat ../../../VERSION)_$(date "+%s").tar.gz supavisor - name: configure aws credentials - staging - uses: aws-actions/configure-aws-credentials@v1 + uses: aws-actions/configure-aws-credentials@v4 with: role-to-assume: ${{ secrets.DEV_AWS_ROLE }} aws-region: "us-east-1" diff --git a/.github/workflows/staging_linter.yml b/.github/workflows/staging_linter.yml index 85e084b1..d21041be 100644 --- a/.github/workflows/staging_linter.yml +++ b/.github/workflows/staging_linter.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Setup elixir id: beam uses: erlef/setup-beam@v1 @@ -19,7 +19,7 @@ jobs: otp-version: 25.x # Define the OTP version [required] elixir-version: 1.14.x # Define the elixir version [required] - name: Cache Mix - uses: actions/cache@v1 + uses: actions/cache@v3 with: path: deps key: ${{ runner.os }}-mix-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }} @@ -37,7 +37,7 @@ jobs: - name: Credo checks run: mix credo --strict --mute-exit-status - name: Retrieve PLT Cache - uses: actions/cache@v1 + uses: actions/cache@v3 id: plt-cache with: path: priv/plts diff --git a/.github/workflows/version_updated.yml b/.github/workflows/version_updated.yml index 3ff6eb62..e84db9f1 100644 --- a/.github/workflows/version_updated.yml +++ b/.github/workflows/version_updated.yml @@ -9,7 +9,7 @@ jobs: name: Bump version runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Verify Versions Updated uses: tj-actions/changed-files@v35 id: verify_changed_files