Sha256: aaa3b8f5cc206180275d19f8b652c2f9b9fd46d842416572d4578aa3414a996a

Contents?: true

Size: 1.3 KB

Versions: 4

Compression:

Stored size: 1.3 KB

Contents

name: "CI"

on:
  push:
    branches: [master]
  pull_request: ~
  workflow_dispatch: ~

jobs:
  run-tests:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        rubyversion: ["2.5", "2.6", "2.7", "3.0", "3.1"]
    steps:
      - name: Checkout Repository
        uses: actions/checkout@v3
      - name: Set up Ruby
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.rubyversion }}
          rubygems: "3.0.0"
          bundler-cache: true
      - name: Install Dependencies
        run: make install
      - name: run tests
        run: EASYPOST_TEST_API_KEY=123 EASYPOST_PROD_API_KEY=123 make test
      - name: Coveralls
        if: github.ref == 'refs/heads/master'
        uses: coverallsapp/github-action@master
        with:
          github-token: ${{ secrets.GITHUB_TOKEN }}
          path-to-lcov: "./coverage/lcov/easypost-ruby.lcov"
  lint:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout Repository
        uses: actions/checkout@v3
      - name: Set up Ruby
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: "3.1"
          rubygems: "3.0.0"
          bundler-cache: true
      - name: Install Dependencies
        run: make install
      - name: Lint Project
        run: make lint
      - name: Run security analysis
        run: make scan

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
easypost-4.12.0 .github/workflows/ci.yml
easypost-4.11.0 .github/workflows/ci.yml
easypost-4.10.0 .github/workflows/ci.yml
easypost-4.9.0 .github/workflows/ci.yml