Skip to content

build(deps): bump codecov/codecov-action from 5 to 6 #164

build(deps): bump codecov/codecov-action from 5 to 6

build(deps): bump codecov/codecov-action from 5 to 6 #164

Workflow file for this run

name: Build
on:
workflow_call:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: build-${{ github.ref }}
cancel-in-progress: true
jobs:
build-erlang:
runs-on: ubuntu-22.04
env:
ERL_FLAGS: "-enable-feature all"
OTP_VERSION: "27"
REBAR3_VERSION: "3.24.0"
steps:
- name: Check out repository
uses: actions/checkout@v6
- name: Setup Erlang/OTP and rebar3
uses: erlef/setup-beam@v1
with:
otp-version: ${{ env.OTP_VERSION }}
rebar3-version: ${{ env.REBAR3_VERSION }}
- name: Restore _build folder
uses: actions/cache@v5
with:
path: _build
key: "_build-cache-for\
-otp-${{ env.OTP_VERSION }}\
-rebar3-${{ env.REBAR3_VERSION }}\
-hash-${{ hashFiles('rebar.lock') }}"
- name: Restore rebar3's cache
uses: actions/cache@v5
with:
path: ~/.cache/rebar3
key: "rebar3-cache-for\
-otp-${{ env.OTP_VERSION }}\
-rebar3-${{ env.REBAR3_VERSION }}\
-hash-${{ hashFiles('rebar.lock') }}"
- name: Lint Erlang code (elvis)
run: |
rebar3 compile