Commit 3f6dfcbc authored by Dave Hadka's avatar Dave Hadka
Browse files

Merge branch 'main' of http://github.com/actions/cache into dhadka/ghes

parents 0f71d4ac d33b5077
Loading
Loading
Loading
Loading
+1
Changes for .gitattributes: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
.licenses/** -diff linguist-generated=true
 No newline at end of file
+20
Changes for .github/workflows/licensed.yml: 20 added lines, 0 removed lines.
Original line number Diff line number Diff line
name: Licensed

on:
  push: {branches: main}
  pull_request: {branches: main}

jobs:
  test:
    runs-on: ubuntu-latest
    name: Check licenses
    steps:
      - uses: actions/checkout@v2
      - run: npm ci
      - name: Install licensed
        run: |
          cd $RUNNER_TEMP
          curl -Lfs -o licensed.tar.gz https://github.com/github/licensed/releases/download/2.12.2/licensed-2.12.2-linux-x64.tar.gz
          sudo tar -xzf licensed.tar.gz
          sudo mv licensed /usr/local/bin/licensed
      - run: licensed status
 No newline at end of file
+4 −4
Changes for .github/workflows/workflow.yml: 4 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -3,13 +3,13 @@ name: Tests
on:
  pull_request:
    branches:
      - master
      - main
      - releases/**
    paths-ignore:
      - '**.md'
  push:
    branches:
      - master
      - main
      - releases/**
    paths-ignore:
      - '**.md'
@@ -34,7 +34,7 @@ jobs:
      run: |
        echo "::set-output name=dir::$(npm config get cache)"
    - name: Restore npm cache
      uses: actions/cache@v1
      uses: actions/cache@v2
      with:
        path: ${{ steps.npm-cache.outputs.dir }}
        key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
@@ -52,7 +52,7 @@ jobs:
      shell: bash
      run: |
        npm run build
        if [ "$(git status --porcelain | wc -l)" -gt "0" ]; then
        if [ "$(git diff --ignore-space-at-eol | wc -l)" -gt "0" ]; then
          echo "Detected uncommitted changes after build.  See status below:"
          git diff
          exit 1
+16
Changes for .licensed.yml: 16 added lines, 0 removed lines.
Original line number Diff line number Diff line
sources:
  npm: true

allowed:
  - apache-2.0
  - bsd-2-clause
  - bsd-3-clause
  - isc
  - mit
  - cc0-1.0
  - unlicense
  - 0bsd

reviewed:
  npm:
  - sax
 No newline at end of file

File added.

Preview suppressed by a .gitattributes entry or the file's encoding is unsupported.

Loading