chore: Bump actions/cache from 5 to 6 (#119) #232
This file contains hidden or 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
| name: Build and Test | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Setup .NET Core | |
| uses: actions/setup-dotnet@v5 | |
| with: | |
| dotnet-version: 10.x | |
| cache: true | |
| cache-dependency-path: 'paket.lock' | |
| - name: Setup Erlang/OTP | |
| uses: erlef/setup-beam@v1 | |
| with: | |
| otp-version: '27' | |
| rebar3-version: '3' | |
| - name: Cache rebar3 dependencies | |
| uses: actions/cache@v6 | |
| with: | |
| path: ~/.cache/rebar3 | |
| key: rebar3-${{ hashFiles('**/rebar.config') }} | |
| restore-keys: rebar3- | |
| - name: Install just | |
| uses: extractions/setup-just@v4 | |
| - name: Restore dependencies | |
| run: | | |
| just setup | |
| just restore | |
| #- name: Check formatting | |
| # run: just format-check | |
| - name: Build | |
| run: just build | |
| - name: Test | |
| run: just test |