Update actions/upload-artifact action to v3.1.3 #1020
This file contains 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: CLOC | |
on: | |
workflow_dispatch: | |
push: | |
branches: ["master"] | |
pull_request: | |
jobs: | |
cloc: | |
name: CLOC | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 | |
- name: Set up cloc | |
run: | | |
sudo apt update | |
sudo apt -y install cloc | |
- name: Print lines of code | |
run: cloc --vcs git |