diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 0ebfb1e..e2067bc 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -20,7 +20,7 @@ jobs: HEX_API_KEY: ${{ secrets.HEX_API_KEY }} steps: - name: Harden Runner - uses: step-security/harden-runner@18bf8ad2ca49c14cbb28b91346d626ccfb00c518 # v2.1.0 + uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1 with: disable-sudo: true egress-policy: block @@ -28,13 +28,14 @@ jobs: github.com:443 hex.pm:443 repo.hex.pm:443 + builds.hex.pm:443 - - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 - - uses: erlef/setup-elixir@e3f6ffe2878180f57318bf13febd3933ee81f664 # v1.15.2 + - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0 + - uses: erlef/setup-beam@61e01a43a562a89bfc54c7f9a378ff67b03e4a21 # v1.16.0 with: otp-version: ${{ matrix.otp }} elixir-version: ${{ matrix.elixir }} - - uses: actions/cache@58c146cc91c5b9e778e71775dfe9bf1442ad9a12 # v3.2.3 + - uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1 with: path: deps key: ${{ runner.os }}-mix-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d8d8136..b55f8b4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,7 @@ jobs: MIX_ENV: test steps: - name: Harden Runner - uses: step-security/harden-runner@18bf8ad2ca49c14cbb28b91346d626ccfb00c518 # v2.1.0 + uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1 with: disable-sudo: true egress-policy: block @@ -30,13 +30,14 @@ jobs: coveralls.io:443 github.com:443 repo.hex.pm:443 + builds.hex.pm:443 - - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 - - uses: erlef/setup-elixir@e3f6ffe2878180f57318bf13febd3933ee81f664 # v1.15.2 + - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0 + - uses: erlef/setup-beam@61e01a43a562a89bfc54c7f9a378ff67b03e4a21 # v1.16.0 with: otp-version: ${{ matrix.otp }} elixir-version: ${{ matrix.elixir }} - - uses: actions/cache@58c146cc91c5b9e778e71775dfe9bf1442ad9a12 # v3.2.3 + - uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1 with: path: deps key: ${{ runner.os }}-mix-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }} @@ -48,21 +49,19 @@ jobs: mix deps.get - name: Check Formatting run: mix format --check-formatted - - name: Run Tests - run: mix test - name: Run credo run: mix credo --strict - - name: Run Excoveralls + - name: Run Tests and Excoveralls run: mix coveralls.github --parallel --flagname otp-${{ matrix.otp }}-elixir-${{ matrix.elixir }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} finish: needs: tests - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - name: Harden Runner - uses: step-security/harden-runner@18bf8ad2ca49c14cbb28b91346d626ccfb00c518 # v2.1.0 + uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1 with: disable-sudo: true egress-policy: block diff --git a/.github/workflows/scorecards.yml b/.github/workflows/scorecards.yml index fbb0fa2..94801c0 100644 --- a/.github/workflows/scorecards.yml +++ b/.github/workflows/scorecards.yml @@ -22,7 +22,7 @@ jobs: steps: - name: Harden Runner - uses: step-security/harden-runner@18bf8ad2ca49c14cbb28b91346d626ccfb00c518 # v2.1.0 + uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1 with: disable-sudo: true egress-policy: block @@ -35,14 +35,15 @@ jobs: github.com:443 rekor.sigstore.dev:443 sigstore-tuf-root.storage.googleapis.com:443 + oss-fuzz-build-logs.storage.googleapis.com:443 - name: "Checkout code" - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 + uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0 with: persist-credentials: false - name: "Run analysis" - uses: ossf/scorecard-action@e38b1902ae4f44df626f11ba0734b14fb91f8f86 # v2.1.2 + uses: ossf/scorecard-action@08b4669551908b1024bb425080c797723083c031 # v2.2.0 with: results_file: results.sarif results_format: sarif @@ -69,6 +70,6 @@ jobs: # Upload the results to GitHub's code scanning dashboard. - name: "Upload to code-scanning" - uses: github/codeql-action/upload-sarif@959cbb7472c4d4ad70cdfe6f4976053fe48ab394 # v2.1.37 + uses: github/codeql-action/upload-sarif@00e563ead9f72a8461b24876bee2d0c2e8bd2ee8 # v2.21.5 with: sarif_file: results.sarif diff --git a/CHANGELOG.md b/CHANGELOG.md index e6ec262..bce7c81 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## 0.3.10 (06.09.2023) +* Update all dependencies. + | Package | Type | Update | Change | + |---|---|---|---| + | [actions/cache](https://togithub.com/actions/cache) | action | minor | `v3.2.3` -> `v3.3.1` | + | [actions/checkout](https://togithub.com/actions/checkout) | action | major | `v3.3.0` -> `v4.0.0` | + | [erlef/setup-elixir](https://togithub.com/erlef/setup-elixir) | action | minor | `v1.15.2` -> `v1.16.0` | + | [github/codeql-action](https://togithub.com/github/codeql-action) | action | minor | `v2.1.37` -> `v2.21.5` | + | [ossf/scorecard-action](https://togithub.com/ossf/scorecard-action) | action | minor | `v2.1.2` -> `v2.2.0` | + | [step-security/harden-runner](https://togithub.com/step-security/harden-runner) | action | minor | `v2.1.0` -> `v2.5.1` | +* Lock ubuntu version to `ubuntu-20.04` in CI/CD. +* Ignore updates for `ubuntu`. + ## 0.3.9 (16.01.2023) * Update all dependencies. * Block egress traffic in GitHub Actions. diff --git a/README.md b/README.md index 9576c98..16c3fe1 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ XDR is an open data format, specified in [RFC 4506](http://tools.ietf.org/html/r ```elixir def deps do [ - {:elixir_xdr, "~> 0.3.9"} + {:elixir_xdr, "~> 0.3.10"} ] end ``` diff --git a/mix.exs b/mix.exs index 4ff38d4..9dc9afe 100644 --- a/mix.exs +++ b/mix.exs @@ -2,7 +2,7 @@ defmodule XDR.MixProject do use Mix.Project @github_url "https://github.com/kommitters/elixir_xdr" - @version "0.3.9" + @version "0.3.10" def project do [ diff --git a/renovate.json b/renovate.json index 986bd3d..0e743dc 100644 --- a/renovate.json +++ b/renovate.json @@ -2,5 +2,8 @@ "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": [ "config:semverAllMonthly" + ], + "ignoreDeps": [ + "ubuntu" ] }